Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9754
Posted: 10:27pm 25 Jan 2019
Copy link to clipboard
Print this post
Hello all.
One press of the SELECT button puts the 1455 into programmer mode as we all know, and one long press will reset the Micromite.
However, if you inadvertently get into programmer mode when you don't want to be, there does not seem to be any way to get back out again. The long press of the SELECT button does not work if you have entered programmer mode. The only way to recover is to cycle the main power. I don't suppose there is any chance the long press could also work from inside the programmer mode could it?
Probably one for Peter to answer.Smoke makes things work. When the smoke gets out, it stops!
robert.rozee Guru Joined: 31/12/2012 Location: New ZealandPosts: 2464
Posted: 04:37am 26 Jan 2019
Copy link to clipboard
Print this post
pressing the "4" key on the PC's keyboard should exit programming mode.
also, holding the 'select' button down for more than 2 seconds when in programming mode should return to serial mode when the button is released. if not, check that there is a pullup resistor (anything from 10k to 47k) on the 1455's RxD pin (pin 5) to stop the pin floating (while the pic32 is held in reset) and driving the 1455 insane.
this pullup on pin 5 is rather essential for reliable operation of the 1455.
cheers, rob :-)
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9754
Posted: 10:17am 26 Jan 2019
Copy link to clipboard
Print this post
Can't press "4", this is on a board with an embedded 1455 - and no USB connected when I discovered this.
No, pressing and holding the SELECT button with the MODE LED on(in programming mode), does nothing. The LED never goes out, and the MM seems to be held in reset and won't run. Cycle the power, and everything comes back to life.
I have a 10k pull-up on pin5 of the 1455 - that is standard practise for me these days. Smoke makes things work. When the smoke gets out, it stops!
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572
Posted: 10:31am 26 Jan 2019
Copy link to clipboard
Print this post
That is the issue. It works with USB connected. Moral of the story - don't push the button when not using the chip (replace the button with a header). Sorry not going to change stable code for this one.
Grogster Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9754
Posted: 10:36am 26 Jan 2019
Copy link to clipboard
Print this post
Fair enough. Now I know.Smoke makes things work. When the smoke gets out, it stops!