Mod5213, communicate to mod5213 monitor from PC
Posted: Mon Sep 08, 2008 12:11 pm
Dear All,
As we know, using the utility MTTTY.exe, we can setup mod5213 configuration, such as, Baudrate, Boot Delay, etc., and download application code.
I wonder if I can develop a Windows program to set the prefered settings automatically. Tt will be more efficeint this way, especially when u have thousands of mod5213 to setup.
I have gone thru some postings in this Yahoo newsgroup and some NNDK docs. However, I still have some questions unclear. Could anybody give me some comments, thanks in advance.
1) "Sending 0xFCFC to an application that has called EnableSerialUpdate() will put the MOD5213 into a state equivalent to having entered FLA from the NB prompt." (please see Yahoo posting #2927) What special character sequence can make the MOD5213 goto a state equivalent to display "NB>" on the MTTTY screen?
2) What are the command formats for setting Baudrate, Boot Delay, and Save these setting thru MOD monitor??
3) By the way, when downloading code to the MOD5213, "After the MOD5213 confirms that it is out of the application and in monitor the PC sends the string 0xBBBBBBBB followed by the base address of the binary FLASH file. This will tell the MOD5213 you are about to send a binary instead of a standard _app.s19. ~~~~~" (please see Yahoo posting #2743). What does "base address of the binary FLASH file" refer to? is it an physical address in the MOD5213 flash? or an physical address in PC memory?
Regards,
Haomin
As we know, using the utility MTTTY.exe, we can setup mod5213 configuration, such as, Baudrate, Boot Delay, etc., and download application code.
I wonder if I can develop a Windows program to set the prefered settings automatically. Tt will be more efficeint this way, especially when u have thousands of mod5213 to setup.
I have gone thru some postings in this Yahoo newsgroup and some NNDK docs. However, I still have some questions unclear. Could anybody give me some comments, thanks in advance.
1) "Sending 0xFCFC to an application that has called EnableSerialUpdate() will put the MOD5213 into a state equivalent to having entered FLA from the NB prompt." (please see Yahoo posting #2927) What special character sequence can make the MOD5213 goto a state equivalent to display "NB>" on the MTTTY screen?
2) What are the command formats for setting Baudrate, Boot Delay, and Save these setting thru MOD monitor??
3) By the way, when downloading code to the MOD5213, "After the MOD5213 confirms that it is out of the application and in monitor the PC sends the string 0xBBBBBBBB followed by the base address of the binary FLASH file. This will tell the MOD5213 you are about to send a binary instead of a standard _app.s19. ~~~~~" (please see Yahoo posting #2743). What does "base address of the binary FLASH file" refer to? is it an physical address in the MOD5213 flash? or an physical address in PC memory?
Regards,
Haomin