Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:15 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 : MM.Flash

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 11:17pm 17 Jan 2021
Copy link to clipboard 
Print this post

@TassieJim
         I am trying to flash a chip, but can't figure this out. 'Program Master'
mentions Arduino and seems to do nothing while "Program Target" takes me to my Hex files, I select a file and MM.Flash tells me it is programming via 1455 ver. 5.05.03 in .006 seconds. I am obviosly doing it wrong. This is an a Windoze Mach.
         I normally use Robert Rozees 'PicProg GUI', too easy, but I want to see if I can flash a chip on Linux and with 'PICProg GUI' I cant select the USB port.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:30pm 17 Jan 2021
Copy link to clipboard 
Print this post

Program Master will program the Arduino nano with Robs firmware.
You only do that once if you keep a dedicated nano for programming.
Then program target will send the MMBasic firmware to the MM chip via the Arduino

If you are using a PIC1455 that is already programmed, you don't have to do the program master step.

I don't know what success you will have under Wine.

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 11:44pm 17 Jan 2021
Copy link to clipboard 
Print this post

So do I need the Arduino if I am using a 1455, I'm still lost, is there a write up about this on TBS.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 12:21am 18 Jan 2021
Copy link to clipboard 
Print this post

If you are using the PIC, read Geoff's article on the microbridge.
https://geoffg.net/microbridge.html
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 01:03am 18 Jan 2021
Copy link to clipboard 
Print this post

I think I understand it now, I am programming through the 1455. Don't know why I need the PGC and PGD pins, I thought the 1455 would take care of that.
It seems to work, runs through everything and says it programmed but it only takes a fraction of a second and does not program the chip. I don't think I will bother with it, don't know if it will work on Linux anyway but it seems to do the same as on Windows. If I have to use Windows to flash the chips so be it.
This is what MM.Flash says


Edited 2021-01-18 11:09 by palcal
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 02:09am 18 Jan 2021
Copy link to clipboard 
Print this post

I also receive this file.
  Quote  [Windows]
; Main Window
MainX = -3
MainY = -8
MainW = 1366
MainH = 705
; Config Window
ConfigX = 200
ConfigY = 200
ConfigW = 492
ConfigH = 295

[micromite]
uM SerialSpeed = 57600
LineDelay = 150
PGD = 4
PGC = 5
MCLR = 1

[Arduino]
A SerialSpeed = -b3

[General]
Master Device = PIC16F1455
MM Program = pic32prog.bas
HEX File = Micromite_V5.05.03.hex
HEX Folder = C:\Users\Paul\Downloads\Micromite_Firmware\
Max port no = 32
comport = COM3

"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 02:39am 18 Jan 2021
Copy link to clipboard 
Print this post

That file is just the settings that get remembered between sessions.
If you delete it, the default settings get used next to.

MMFlash and Rob's GUI are both wrappers for the commandline tool so if one doesn't work under Wine, it is most likely that the other one won't work either.

Jim
VK7JH
MMedit
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1993
Posted: 02:41am 18 Jan 2021
Copy link to clipboard 
Print this post

@TassyJim
        I'm using Windows10.
Paul
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
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