Recognition Problem
Recognition Problem
My device was working fine a few minutes ago, but I tried to send my program to it and for some reason it can not locate the device. It can not find it anywhere. Is there a way to hard reset the device to before I reloaded the program on to it?
Re: Recognition Problem
This sounds like you have not included the AUTOUPDATE feature when you created your application. I did this the first time too. To allow auto update over Ethernet you have to include this in your software! You can select this from the Project create wizard whne creating a new application.
BUT, as you have already lost this connection you need to create your application with this or do what I did and create a new DUMMY project from the wizard and include the AUTOUPDATE option. Then compile that programme. Now you have to use the serial debug port to access the monitor. When it boots up, it will show something like Waiting 2 seconds to start "A" to abort. Press A when you see this and now you can select the option to upload your programme to flash. Type HELP for a list of menu commands. Send the small DUMMY programme you just created as this will likely be smaller than you main application and will upload much faster. Use MTTY to upload your file.
I found out about all this purely by trying it out before I spotted some help on here about it but I can't remember where it is. Someone else did the same thing with their Netburner!
Good luck
Dave...
BUT, as you have already lost this connection you need to create your application with this or do what I did and create a new DUMMY project from the wizard and include the AUTOUPDATE option. Then compile that programme. Now you have to use the serial debug port to access the monitor. When it boots up, it will show something like Waiting 2 seconds to start "A" to abort. Press A when you see this and now you can select the option to upload your programme to flash. Type HELP for a list of menu commands. Send the small DUMMY programme you just created as this will likely be smaller than you main application and will upload much faster. Use MTTY to upload your file.
I found out about all this purely by trying it out before I spotted some help on here about it but I can't remember where it is. Someone else did the same thing with their Netburner!
Good luck
Dave...
Re: Recognition Problem
The program has the autoUpdate included and was working before this happened. I edited the program like normal to advance my work and now it doesn't work.
Re: Recognition Problem
You must also make sure you call it - by any chance, did you delete commented line from the following snip-it?
Code: Select all
// Set up networking, etc.
InitializeStack();
if (EthernetIP == 0)
GetDHCPAddress();
OSChangePrio(MAIN_PRIO);
EnableAutoUpdate(); // <<--- Is this still in your app startup?
StartHTTP();
EnableTaskMonitor();
#ifndef _DEBUG
EnableSmartTraps();
#endif
Re: Recognition Problem
No, it is still there. Thats why I am so confused.
Re: Recognition Problem
I just tried to do what you said through MTTTY, but could not even get it to abort. It was not taking any input from my keyboard.
Re: Recognition Problem
That's strange. The boot loader should be working and detect the A. You are sending CAPITAL A as the lowercase a does not work on my unit.
I have found that I had to set the stop bits to 2 to get it to work before. Give that a try too.
Dave...
I have found that I had to set the stop bits to 2 to get it to work before. Give that a try too.
Dave...
Re: Recognition Problem
I tried sending a caps locked 'A' and just using the shift key. Neither work. I don't know what I did to the MOD5234. Thanks for the idea on the stop bits, but that too did not work.
Re: Recognition Problem
On my dev board the UART0 RX signal can come from the USB or DB9 connector. Transmit always works to both ports, but you can only have one RX connected or they will fight. So make sure you have the correct RX jumper setting for the serial port you are using.
Re: Recognition Problem
Nothing I try is working. I do not know what is wrong with my device. Is there any way to manually reset and clear the device?