Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:45 16 Jul 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 : Boot Loading problem

Author Message
jeffj
Regular Member

Joined: 04/02/2012
Location: Australia
Posts: 84
Posted: 10:38pm 23 Feb 2016
Copy link to clipboard 
Print this post

MM Bootload problem MM colour and MM mono
Colour MM:-I cannot get the boot load to work Led does not flash when I press the boot load PB.
It does do something as I reprogrammed the MM with Pickit3 then tried to boot load .
The LED stayed on but the Silicon chip driver then appeared in Device manager,it wasn't there before.
I am not sure whether it matters or not as maybe downloading with the pickit3 may be doing the same thing.
The mono MM led flashes continuously (over 1/2 hour) when I press the bootload button
Both computers work ok
Jeff
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6270
Posted: 11:08am 24 Feb 2016
Copy link to clipboard 
Print this post

It looks like you have loaded the updates with the pickit3.
The updates don't have the bootloader.

You need to load a version with bootloader using your pickit3 and then load the updates using the bootloader.

Jim

I will try to find a link to the firmware with bootloader later.


VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6270
Posted: 06:15pm 24 Feb 2016
Copy link to clipboard 
Print this post

Links to the construction packs which contain versions of MMBasic with the bootloader

Mono Maximite

Colour Maximite

Install the versions in the ZIP using the PICKit3 and then update them to the latest version using the USB method.

Jim

VK7JH
MMedit
 
jeffj
Regular Member

Joined: 04/02/2012
Location: Australia
Posts: 84
Posted: 05:13pm 25 Feb 2016
Copy link to clipboard 
Print this post

Thanks for that Jim
I loaded both of those as described . Unfortunately both are still the same .
I wonder if the problem is related to when I connect the MMs to the computer I get a lot of trouble getting the com4 port to open. It usually ends up working after several loads of tera term and pulling out the usb plug and then it works.Sometimes I have to revert to updating the Silicon chip serial driver.
regards Jeff
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6270
Posted: 07:34pm 25 Feb 2016
Copy link to clipboard 
Print this post

What version of Windows are you using?

Do you connect directly to the PC or via a hub?
If possible, try both ways.
Also try different USB ports and different USB cables.

The driver is not used during a bootload operation so if you are having problems with bootload and normal comms with both maximites, it points to a PC port or cable problem.

Jim
VK7JH
MMedit
 
jeffj
Regular Member

Joined: 04/02/2012
Location: Australia
Posts: 84
Posted: 08:34pm 26 Feb 2016
Copy link to clipboard 
Print this post

Thanks for your prompt help Jim
I changed the port and followed the instructions and all went well . Both MMs fire up straight away on Teraterm now.
One point, I had a problem with the Mono colour MM, I tried to run "maximite " bootloader in the construction package This wouldn't work and was asking for the program.
I had a bootloader.exe from way back in 2014.I used this and then was able to use the one with the maximite prefix
Great
thanks Jeff
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6270
Posted: 08:41pm 26 Feb 2016
Copy link to clipboard 
Print this post

Good to see it working.
USB can be fickle.
Jim
VK7JH
MMedit
 
jeffj
Regular Member

Joined: 04/02/2012
Location: Australia
Posts: 84
Posted: 02:45pm 27 Feb 2016
Copy link to clipboard 
Print this post

There seems to be a bug in the updated programme.
I went to run a program that has been working ok on both colour and mono
I kept on getting error messages that a pin is not an input.
I reloaded an older version and it works fine.
My test code is as foll
470 For I=1 To 3: SetPin i,AIN:Next I ' pin configure I/O
480 For I=4 To 10 :SetPin I,DIN:Next I
490 For I=11 To 12: SetPin i,CIN:Next I
500 For I=13 To 20: SetPin i,DOUT:Next I

1860 Pincheck:
1870 For i=1 To 12
1880 Print "PIN"(i)"="Pin(i)
1890 Next: Pause 5000
regards Jeff

 
paceman
Guru

Joined: 07/10/2011
Location: Australia
Posts: 1329
Posted: 03:01pm 27 Feb 2016
Copy link to clipboard 
Print this post

Take the first set of brackets out of line 1880 as below.

1880 Print "PIN" i "=" Pin(i)
 
Bizzie
Senior Member

Joined: 06/07/2014
Location: Australia
Posts: 192
Posted: 09:21pm 27 Feb 2016
Copy link to clipboard 
Print this post

Line 1880 should read something like:-

1880 Print "PIN(";i;") = ";Pin(i)

You need the semi colons to separate each expression.
Rob White
 
MicroBlocks

Guru

Joined: 12/05/2012
Location: Thailand
Posts: 2209
Posted: 09:30pm 27 Feb 2016
Copy link to clipboard 
Print this post

No semi colons needed, although i still use them as i find it more clear.

Microblocks. Build with logic.
 
jeffj
Regular Member

Joined: 04/02/2012
Location: Australia
Posts: 84
Posted: 10:27pm 28 Feb 2016
Copy link to clipboard 
Print this post

Thanks for your comments .
What I can't understand is that the code I listed works ok on the old firmware
but not on the one I downloaded .
The problem seems to be that the setpin command does not work
Jeff.
 
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