![]() |
Forum Index : Microcontroller and PC projects : Pin 0 is reserved on startup
Author | Message | ||||
martrogers Newbie ![]() Joined: 15/09/2019 Location: AustraliaPosts: 12 |
Hello I have successfully used MMedit on this Picomite previously but am now getting this error: Pin 0 is reserved on startup When I change SETPIN GP17, DOUT to SETPIN 22, DOUT the line works but an error is generated by the BITBANG line - Unknown command I have tried OPTION CPUSPEED 100000 but it errors Invalid option I have tried differed Picos I have tried PC and laptop All give the same errors Versions 5.0503 and 5.07.05b17 produce the same errors ( but I notice that during upload version 5.0503 is reported for the 5.07.05b17 version.) These issues came after I added SD card commands to a longer code than the one shown, not sure if that is a coincidence. Can anyone help? Regards Martin P.S Many thanks to all involed for a fabulous microcontroller system. ![]() |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3378 |
What does OPTION LIST report? What firmware version? What actual hardware? Output of: ?mm.ver,mm.device$ What are you connected to? I haven't used MMEdit in a while, so I'm not sure of the meaning of: tassyjim.ddns.net:3002 The error may indicate that GP17 is undefined, and therefor has a value of 0, which might indicate that you aren't connected to what you think you are. Try putting OPTION EXPLICIT as the first line in your program. The question might be, Are you in fact connected to tassyjim's test mmbasic device, and not your picomite? ~ Edited 2022-08-22 11:20 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
phil99![]() Guru ![]() Joined: 11/02/2018 Location: AustraliaPosts: 2640 |
"... reserved on startup" That does hint that there may be a conflict with one of your OPTIONs. However "Pin 0" doesn't help much as there is no Pin 0. GP0 is Pin 1 so perhaps Pin 0 means an unidentified pin. |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
indicates that he is trying to run picomite code on my micromite. Solution: connect locally to your device. Jim VK7JH MMedit |
||||
martrogers Newbie ![]() Joined: 15/09/2019 Location: AustraliaPosts: 12 |
Thanks Jim, perfect I had assumed that it had picked up my COM3 connection after I had placed it in the connection list. I have done many projects with this editor with no issues. Onward! Martin |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |