We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi!
Is there a capability to compile and load all of a program into RAM (not only some functions with __ram keyword)? Can such a program be loaded with the help of JTAG emulator? We also intend to write a loader for loading programs into RAM through UART. This loader will be stored in FLASH memory. Is this intention realizable? Can someone advice us?
We use ADuC207x controllers and Keil uVision3 with C ARM compiler V2.42.
Thanks, Dr. Yury Tychinsky.
No flash download algorithm should be needed if your project is correctly configured. The download algorithm is a little program that is downloaded into RAM and uses IAP to program blocks of RAM data to the flash. With a correctly configured project, there will be no need for a flash algorithm, since no data needs to be programmed using IAP.
We have loaded the program into RAM and started it!
The mistake was in using "Load" button of uVision3 toolbar. It requires programming algorithm.
When we run "LOAD file.hex" from uVision3 command line, then JTAG has loaded the program correctly.
Thank you very mutch!