Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:44 17 Sep 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 : PIC Program MMbasic with no HW

Author Message
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 727
Posted: 01:16am 26 Dec 2015
Copy link to clipboard 
Print this post

Hi,

wasn't there a method to program a PIC with MMbasic, without any additional Hardware?
If not, what is the minimal interface circuit for it?

Thanks for clearification an Merry X-MAS.


Atmega
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9643
Posted: 01:45am 26 Dec 2015
Copy link to clipboard 
Print this post

I seem to recall reading a thread about that some time ago, but I think although it was theoretically possible, it would take MMBASIC about 20 minutes to program one chip or something like that.
Smoke makes things work. When the smoke gets out, it stops!
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2447
Posted: 03:09am 26 Dec 2015
Copy link to clipboard 
Print this post

G8JCF, JohnS, and myself all experimented with using a micromite as the programming hardware, but as Grogster recalls there were various issues around the programming time required. the best i ever achieved was something like 15 minutes, JohnS had a solution that used an FTDI bridge chip but took some number of hours, while G8JCF wrote a custom function that managed a couple of minutes or less.

when i moved from using JTAG to ICSP interface i changed over to using an arduino nano to address programming time as well as provide a solution that didn't require any 'bootstrapping' (the nano shipping with a bootloader already present, and costing only a few dollars).

cheers,
rob :-)Edited by robert.rozee 2015-12-27
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 727
Posted: 03:12am 26 Dec 2015
Copy link to clipboard 
Print this post

Hi,

Time doesn't matter.
What was the best usefull Solution?

Link?

 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2447
Posted: 04:40am 26 Dec 2015
Copy link to clipboard 
Print this post

imho, pic32prog along with an arduino nano. the nano is dirt cheap from ebay (less than us$2.50 delivered), and pic32prog is current software that is being maintained and updated by serge as new pic32 devices are released.

abridged construction details:
2015-12-26_143947_constructor_guide.pdf

btw, Grogster has produced a PCB for a far neater assembly.


cheers,
rob :-)Edited by robert.rozee 2015-12-27
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4071
Posted: 05:21am 26 Dec 2015
Copy link to clipboard 
Print this post

Depends a bit which PIC chip(s) as some need rather high voltage (Vpp). The nano etc don't have that at the moment I think.

I also did a few very fast versions:
1. using a Raspberry Pi (15 secs or so)
2. you buy 2 of the cheapest Arduino programmers there are (usbisp / usbasp) and it's something like 30 secs

The above 2 don't need any zener diodes etc (I don't own any). Very very simple.

The horribly slow way you use a USB serial port, plug it into your desktop/laptop and the programming software wiggles the lines (DTR/DSR/etc) which you connect to the ICSP pins. (It's GPIO via USB packet.)

I was only looking at PIC32 at the time, no high voltage Vpp stuff.

JohnEdited by JohnS 2015-12-27
 
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