Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:20 01 Aug 2025 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : Pin 0 is reserved on startup

Author Message
martrogers
Newbie

Joined: 15/09/2019
Location: Australia
Posts: 12
Posted: 12:50am 22 Aug 2022
Copy link to clipboard 
Print this post

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 States
Posts: 3378
Posted: 01:01am 22 Aug 2022
Copy link to clipboard 
Print this post

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: Australia
Posts: 2640
Posted: 01:18am 22 Aug 2022
Copy link to clipboard 
Print this post

"... 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: Australia
Posts: 6283
Posted: 02:27am 22 Aug 2022
Copy link to clipboard 
Print this post

  Quote   tassyjim.ddns.net:3002
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: Australia
Posts: 12
Posted: 02:43am 22 Aug 2022
Copy link to clipboard 
Print this post

  TassyJim said  
  Quote   tassyjim.ddns.net:3002
indicates that he is trying to run picomite code on my micromite.

Solution: connect locally to your device.

Jim


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
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025