Tag Archives: memory

(Sort of) Running an Arduino Program Stored in Memory

Ever wonder if you could call a program stored as machine code inside of an array? It’s possible, however, there are some hurdles to overcome. First, the arduino (an ATMEL AVR based μC) is based upon the modified Harvard architecture. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Arduino and Cypress SPI FM25CL64B FRAM

The FM25CL64B is a 64K-bit ferroelectric RAM (F-RAM or FRAM) memory chip. Unlike typical flash and EEPROM memory, FRAM is capable of performing write operations at bus speed. According to the Cypress datasheet, this FRAM chip is capable of being … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 2 Comments

Stack Grows Down

At first thought, it probably seems odd that the stack “grows” downward. The reason it expands downward is a consequence of GCC compiler commonality with other PC architectures. The AVR µC data memory is proportioned in a similar fashion to … Continue reading

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Dump and Disassemble AVR µC Flash Memory

Read Flash Memory To dump the contents of the flash memory of an AVR microcontroller, you simply need to connect an ISP programmer, and execute the appropriate avrdude command. For example, to dump an ATmega328P based arduino, using an USBTiny … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 3 Comments