|
Download test program to RAM & executeNext Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Alex Kuznetsov Posted 21-Aug-2006 05:02 Toolset C166 |  Download test program to RAM & execute Alex Kuznetsov Hello. I use ST10F276. Application "main" is already programmed in FLASH. I need to download "test" application in RAM for testing hardware. How can i do this? "Main" application must work after reset. | | Read-Only Author Joost Leeuwesteijn Posted 21-Aug-2006 05:28 Toolset C166 |  RE: Download test program to RAM & execute Joost Leeuwesteijn Hi, Use bootstrap mode to load the app in RAM? I don't know anything about the ST10F276 specifically but the C167 has the limitation that you can't enable the watchdog in bootstrap mode, but that's about it. On a C167 you can load a bootstrap loader using the bootstrap mode (and set all BUSCON's etc), and from there read the rest of the app that gets loaded in RAM and execute. When you reset the system, it should start from flash again. Regards, Joost Leeuwesteijn | | Read-Only Author Alex Kuznetsov Posted 21-Aug-2006 15:18 Toolset C166 |  RE: Download test program to RAM & execute Alex Kuznetsov I'm only beginer. I guess what i need to use bootstrap mode to load the app in RAM. Can you send an example of 32 byte loader? | | Read-Only Author Joost Leeuwesteijn Posted 22-Aug-2006 02:20 Toolset C166 |  RE: Download test program to RAM & execute Joost Leeuwesteijn Hi Alex, Check out the links below. You can use your own bootloader of perhaps you can use the monitor. See: http://www.keil.com/support/docs/1065.htm http://www.keil.com/support/man/docs/mon166/ http://www.keil.com/support/docs/1243.htm http://www.keil.com/support/docs/1065.htm http://www.keil.com/support/docs/893.htm http://www.keil.com/support/docs/372.htm Regards, Joost Leeuwesteijn | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|