I am testing a small board that incorporates an 08m2 together with an inverter circuit to interface to a straight USB to serial adapter. Everything works ok, but the 08m2 does not want to accept a new download without a hard reset.
The program is:
Options --> check firmware version shows: PICAXE-08M2 Firmware version A
The symptoms are as follows:
Program running: SERIN voltage = 0.000V
Start of download: SERIN voltage = 5.1v then back to 0V
Popup message: Error - memory verification failed (byte 511)
Hard reset: SERIN voltage = 2.3V then 5.1V briefly, then, order of 1 to 2 v then back to 0V. Then program downloads.
If I comment out the pause 1000, then the program will almost always download without the hard reset. However, it will sometimes take a couple of tries. So, I think I answered my own question, but is there any way to work around this problem?
Baxter
The program is:
Code:
'Picaxe 08m2 Mini Board test
#picaxe 08M2
#terminal 4800
pause 2000
main:
sertxd( "Hello from 08M2", cr, lf )
pause 1000
goto main
The symptoms are as follows:
Program running: SERIN voltage = 0.000V
Start of download: SERIN voltage = 5.1v then back to 0V
Popup message: Error - memory verification failed (byte 511)
Hard reset: SERIN voltage = 2.3V then 5.1V briefly, then, order of 1 to 2 v then back to 0V. Then program downloads.
If I comment out the pause 1000, then the program will almost always download without the hard reset. However, it will sometimes take a couple of tries. So, I think I answered my own question, but is there any way to work around this problem?
Baxter