Hi Ping,
I downloaded and installed Flash Magic as you recommended. I reviewed the documentation in the manual about invoking the ISP over the UART.
I have some questions and would appreciate your assistance and verification of my understanding:
1. Reinvoke ISP Invocation from Application
//here is my code//
#define IAP_LOCATION 0x1FFF1FF1
uint16_t command, status_result;
uint16_t *command_parameter, *command_result;
command = 0x57; //command to Reinvoke_ISP
command_parameter = &command;
iap_entry = IAP_LOCATION;
iap_entry(command_parameter, command_result); //note that there is no reply from Reinvoke ISP
2. What is the baud rate for the serial UART ISP used by Flash Magic?
* Flash Magic has a scroll down menu for selecting baud rate
* Is there a default baud rate that must be used by Flash Magic?
* Or can the baud rate for the ISP-Flash Magic communication be set prior to iap_entry by setting UART0 baud rate?
3. Flash Magic seems to only work with the Intel Hex format. Is there a utility in LCPXpress for creating an Intel Hex file from AXF? It seems to only have the option to select a binary file.
4. Reset to Application Code
I assume that reentry back to the application can only occur by cycling power back into the application after ISP programming. Is this a correct assumption?
Thanks
Timothy Masters