Post Go back to editing

UART Bootloader / Jumping between two programs


we want to enable our devices to perform a firmware update through UART (converted from either RS232 or RS485, which should not matter), but without using the BM pin as we do not want to change the current layout.

So the idea might be like this:

We develop a custom bootloader, which writes incoming UART packages to the Flash as a second program area. After writing, a CRC check will be performed and the programm will jump to the new program. The program itsself will be able to jump back to the bootloader.

Has anybody already successfully developed something like this?

Are there any possible problems I did not recognize yet?

My first steps would be to configure two programs and see how I can jump between different programs with different startup codes.

But I already see a first problem here, as the ARMWSD software doesnt allow programming to custom ROM areas. But Keil gives a tool here to merge my two programs: GENERAL: MERGING TWO APPLICATIONS INTO ONE INTEL HEX FILE 

Has anyone tried this on ADUC7021?

Kind regards,


Parents Reply Children
No Data