Getting the size of a C function

Started by john in comp.arch.embedded10 years ago 75 replies

Hi, I need to know the size of a function or module because I need to temporarily relocate the function or module from flash into sram to do...

Hi, I need to know the size of a function or module because I need to temporarily relocate the function or module from flash into sram to do firmware updates. How can I determine that at runtime? The sizeof( myfunction) generates an error: "size of function unknown". Thanks.


Getting the code size of a function in C

Started by Tosca Berisha in comp.arch.embedded14 years ago 28 replies

I need to determine the size of a function or module since I need to temporary relocate the function or module from flash into sram for firmware...

I need to determine the size of a function or module since I need to temporary relocate the function or module from flash into sram for firmware updates. How can I find that out during runtime. The sizeof( myfunction) generates an error saying "size of function unknown". Thanks.


SRam

Started by Richard in comp.arch.embedded15 years ago 1 reply

Anyone know of an IDE or USB Battery Back S-Ram that can be accessed like a normal drive? Small, like 256 or 512K would be fine. I found a...

Anyone know of an IDE or USB Battery Back S-Ram that can be accessed like a normal drive? Small, like 256 or 512K would be fine. I found a couple of manufactures that have a PC104 CF Adapter with Battery Back S-Ram onboard but they must be out of business because no replies for more info. Richard ----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==---- h...


New ARM7 development board with Atmel AT91SAM7X256

Started by David Fowler in comp.arch.embedded13 years ago 6 replies

Does anyone have information on the Make Controller Kit board? Is $150 a good price? According to www.uCHobby.com it has the new Atmel...

Does anyone have information on the Make Controller Kit board? Is $150 a good price? According to www.uCHobby.com it has the new Atmel AT91SAM7X256 with everything except the kitchen sink; 256K Flash, 64K SRAM, JTAG, Ethernet, CAN, USB, 3 UART, 10 A/D, 4 PWM, 2 SPI, Watch Dog Timer, POR and Brownout etc...


SimmStick FPGA module

Started by Martin Schoeberl in comp.arch.embedded15 years ago 25 replies

Hi all, I'm thinking about a new board for JOP (or MB, NIOS). The board should be small and cheap (below the S3 Starter Kit). It should only...

Hi all, I'm thinking about a new board for JOP (or MB, NIOS). The board should be small and cheap (below the S3 Starter Kit). It should only contain the absolute necessary parts for a CPU design. Here is the suggested part list: FPGA: Cyclone EP1C3 or Spartan XC3S200 256Kx16 15ns SRAM 2 MBit serial Flash 3.3V linear regulation switching regulator for the core voltag...


executing program from external SRAM of EAs MCB2478

Started by Oliver Krause in comp.arch.embedded4 years ago 6 replies

Hi guys, I have a problem and allthought I desperately tried to solve it there is no resolution in sight. So I really hope you can help me. My...

Hi guys, I have a problem and allthought I desperately tried to solve it there is no resolution in sight. So I really hope you can help me. My setup: - embedded artists MCB2478 - Keil ULINK 2 JTAG adaptor - workstation with uVision 5 I have to program my prog onto external memory to preserve the flash ROM of the microcontroller. I found a Q&A about this topic and an example for a control...


Memory selection for an embedded system

Started by Anonymous in comp.arch.embedded14 years ago 6 replies

Hi all, I'm currenlty gettting into embedded system architecture and would like to know where can I find any kind of tutorial/articles/lecture...

Hi all, I'm currenlty gettting into embedded system architecture and would like to know where can I find any kind of tutorial/articles/lecture notes regarding the "art" of selecting the memory for my design I.E. what kind of memory to use SDRAM , SRAM ,FLASH ,EEPROM and where to use it. another thing I'm looking for is stuff on the subject of memory mapping I.E. how to arrange the different ...


Recommended Brands for NVRAM

Started by Noway2 in comp.arch.embedded14 years ago 8 replies

I am looking for recommendations on brands of non volatile sram. I want a device on the order of 32k - 512k by 16 bits, long non powered data...

I am looking for recommendations on brands of non volatile sram. I want a device on the order of 32k - 512k by 16 bits, long non powered data retention, and a real time clock would be preferable but not necessary. Speed isn't very criticical as I am running a 30 MHz bus clock with controllable wait states, so most memory devices will probably be a lot faster than my bus. I have looked at...


Production programming of battery-backed SRAM

Started by Clive Wilson in comp.arch.embedded15 years ago 7 replies

Dear All, I'm not sure if what I'm about to propose is achievable, won't work, or just plain wacky. I'm attempting to design an ARM7-based...

Dear All, I'm not sure if what I'm about to propose is achievable, won't work, or just plain wacky. I'm attempting to design an ARM7-based system which has no Flash, on-chip or off. There is a requirement to have NVRAM, i.e. battery-backed. So I'm thinking, can I manage with only the NVRAM? One major concern of mine is how to initially insert the run-time code in the NVRAM in the firs...


Help me understand SAM9260's clocks

Started by aleksa in comp.arch.embedded9 years ago

I've started programming AT91SAM9260 and some things are not clear to me. At first, sam-ba was giving me...

I've started programming AT91SAM9260 and some things are not clear to me. At first, sam-ba was giving me problems (http://embdev.net/topic/184418), so I created a small win32 app to mimic sam-ba. On reset, sam9260 sends "RomBOOT> " and then listens to commands. I then issue some commands to write to internal SRAM and then execute it. All that works. Speed is what interests me now, so


Energy consumption

Started by Stephan Ceram in comp.arch.embedded12 years ago

Hi, I'm looking for some figures on energy consumption accessing different memory areas. In particular, I'm wondering how much more energy an...

Hi, I'm looking for some figures on energy consumption accessing different memory areas. In particular, I'm wondering how much more energy an access to main memory (for example external SRAM) consumes w.r.t. an access to a cache (cache hit assumed). Are there any academic papers dealing with that? Or do you know of any processor vendor manuals specifying this data? Regards, Chris


simplest monitor/debugger for p2020?

Started by wzab in comp.arch.embedded8 years ago

Hi, I'm looking for a simplest monitor/debugger for freescale's p2020 processor. The sources should compile under gcc, and boot from SD...

Hi, I'm looking for a simplest monitor/debugger for freescale's p2020 processor. The sources should compile under gcc, and boot from SD (after boot_format processing) into SRAM. Does anybody know about such a tool? Maybe someone knows some coding examples for bare-metal applications for p2020 which I could use to start writing such a tool myself? -- Thank you very much in advance, WZab ...


Floating buses (hardware problem)

Started by Geoffrey in comp.arch.embedded13 years ago 7 replies

Hi Everyone In the case of a simple configuration comprising a CMOS microprocessor plus one external CMOS SRAM, it may well happen that the...

Hi Everyone In the case of a simple configuration comprising a CMOS microprocessor plus one external CMOS SRAM, it may well happen that the processor's external bus interface becomes inactive for long periods (for instance, when the uP is accessing code and data in internal memory). In this case, the bus is high impedance, and could, in principle, float to a voltage mid-way between the p...


adsp2187L: assembler or C?

Started by Alessandro Basili in comp.arch.embedded9 years ago

Hi, I have a custom designed board which is based on an ADSP2187L dsp, with a 512KB FLASH, a 128KB SRAM (20 ns cycle) and an FPGA running at 50...

Hi, I have a custom designed board which is based on an ADSP2187L dsp, with a 512KB FLASH, a 128KB SRAM (20 ns cycle) and an FPGA running at 50 MHz. The dsp task is mainly processing commands and data from external links (space-wire) on a 200~500 us cycle. Since the actual software has been written in assembler and there are some concerns about its reliability, I was wondering whether i...


STM32 driving TFT 7 inches wide

Started by johsey in comp.arch.embedded8 years ago

Hello, I would like to have advices about what I should be aware of when interfacing a 7 inches wide TFT display (resolution of 800x480) with...

Hello, I would like to have advices about what I should be aware of when interfacing a 7 inches wide TFT display (resolution of 800x480) with a STM32F205 MCU. Only static images will be displayed and at a slow changing rate. I think I will use the FSMC bus to connect both an external SRAM which will act as the image buffer and the TFT display. Have you got other ideas? Thank you, Joha...


DS80C400 -- SDCC simple demo app. that runs in RAM?

Started by bsd_mike in comp.arch.embedded14 years ago 2 replies

Hello, Are there any DS80C400 users out there? Would anybody have a simple app. that runs out of SRAM compiled under SDCC? Thanks, ...

Hello, Are there any DS80C400 users out there? Would anybody have a simple app. that runs out of SRAM compiled under SDCC? Thanks, Mike


Lowest power RAM

Started by ghazanhaider in comp.arch.embedded14 years ago 7 replies

Hi, What kind of RAM can be used with the lowest power available, with an MCU that might run either at 15MHz or 1MHz, possibly both? The chip...

Hi, What kind of RAM can be used with the lowest power available, with an MCU that might run either at 15MHz or 1MHz, possibly both? The chip is LPC2210, which allows 8,16,32-bit wide data busses and can do SRAM, DRAM or EDO. I'm not worried about the cost or speed. The ram will also be underclocked to match the MCU, and also to lower power requirements. I'm hoping for under 1mA @ 3.3v or ...


Battery-backed RAM

Started by Geoffrey in comp.arch.embedded13 years ago 2 replies

Hi Everyone I'm designing a system which uses low power SRAM powered by battery as a backup device. The data sheet states that all I/Os mus be...

Hi Everyone I'm designing a system which uses low power SRAM powered by battery as a backup device. The data sheet states that all I/Os mus be kept within 0.2V of either Vcc or GND for the standby current to be guaranteed. This is no surprise, one CMOS device must be held firmly in the off state. The I/Os will be connected to a powered down CMOS buffer while in standby mode, and my ...


Four free Z80 appliances (USA)

Started by Anonymous in comp.arch.embedded13 years ago

Cleaning out my closets, I found four Cidco (Earthlink) MailStation 120 Internet appliances. These are free to the first four people willing...

Cleaning out my closets, I found four Cidco (Earthlink) MailStation 120 Internet appliances. These are free to the first four people willing to pay postage, one per customer. These devices have a large graphical LCD, a Z80 micro (believed to be a Rabbit part), 12Mbit of flash, 128Kbyte of SRAM, parallel port and a modem. Runs off 4 x AA cells (included) and also has an AC adapter and ph...


Seeking Video Generator IC

Started by Nappy in comp.arch.embedded14 years ago 5 replies

I am looking for a device which will generate video from attached memory containing bitmaps. I would like to be able to generate NTSC,PAL,RS343...

I am looking for a device which will generate video from attached memory containing bitmaps. I would like to be able to generate NTSC,PAL,RS343 and RS170 video from bitmaps I can change in Flash or SRAM.So hopefully the device will contain memory addressing and timing parameter registers. Considering building our own logic to do this but I have to assume there are solutions on the shelf somew...