Hi Mark
I seem to be having problems with the bootloader (I have 1 atmel spi eeprom for this), I am using CW7.
I done the following: Bootloader project.
1. #define SPI_SW_UPLOAD within config.h
2. #define _ENCRYPTED within utaskerbootloader.c within #if defined (_M5223X)
3. erased full memory, then programmed as normal.
I done the following: Application project.
1.Selected bare_min_app_rom_spi
2.#define SPI_SW_UPLOAD within config.h within #ifdef _M5223X
3.compiled, and erased from 0x1000 to end
4.programmed from 0x1000 to end..
I then ran the board which works.. I changed a bit of code, then compiled the application and ran "bm-convert_encrypt.bat" .
Within my windows application I sent down the encrypted file to the SPI eeprom. I send one page at a time, which gets programmed starting at page 0, then read in and verified with the data sent. An Ack is sent back informing the windows app to send the next page, or NAK if error. The next page gets sent, and so on.
I have a routine that also verfies that the file sent matches the one in spi eeprom
I then restart the board (pressing the restart button), but the same original app is ran. The new one doesnt get copied. Is my procedure wrong?
Do I have to change some location of the start of the file system, so its past the 256k for firmware updates? If so what do I change?
Regards
Neil