![]() |
Forum Index : Microcontroller and PC projects : Boot Loading problem
Author | Message | ||||
jeffj Regular Member ![]() Joined: 04/02/2012 Location: AustraliaPosts: 84 |
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: AustraliaPosts: 6270 |
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: AustraliaPosts: 6270 |
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: AustraliaPosts: 84 |
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: AustraliaPosts: 6270 |
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: AustraliaPosts: 84 |
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: AustraliaPosts: 6270 |
Good to see it working. USB can be fickle. Jim VK7JH MMedit |
||||
jeffj Regular Member ![]() Joined: 04/02/2012 Location: AustraliaPosts: 84 |
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: AustraliaPosts: 1329 |
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: AustraliaPosts: 192 |
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: ThailandPosts: 2209 |
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: AustraliaPosts: 84 |
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. |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |