Jump to content

PIC programming question


njosnari
 Share

Recommended Posts

I was looking into programming the bootloader onto the PIC, and I see that a lot of people are opting for the PICkit3, but I was thinking that maybe it would be useful for me to get an eprom programmer and upgrade some OSs in some other machines, etc. I don't have any experience with programming PIC or EPROM, and I'm not sure if programming these would be the same. Can anyone tell me if something like the Mini-pro TL866 would work to program both the PIC18F452 and an 27c eprom?

Link to comment
Share on other sites

I have a pickit 3 and its been great, not had an issue with it for my older cores, the 452 works perfectly in it. i havent used anything else, i only just picked back up with the midibox kits, family life and work gets in the way. But programming the 452 in the pikit was simple and even I followed the instructions correctly and thats saying something!! lol 

Link to comment
Share on other sites

  • 2 months later...
On 3/9/2020 at 2:21 PM, njosnari said:

In case anyone stumbles across this with the same question, it so far seems that the  Mini-pro TL866 does indeed program PICs ok.

Is the Mini-pro TL866 supported in MPLAB X IDE? Didn't see it as an option?

I have one of those Pickit-3 clones from eBay and I haven't been able to get it working... (Uhg)

 

Link to comment
Share on other sites

I finally got my PicKit 3 working in MPLAB X IDE. 

I needed to manually configure the Pickit to supply source voltage to the PIC.

Interestingly it failed when I supplied 5V, but it works perfectly and consistently with a little less (i.e., 4.875V).  

So now I'm able to burn the setup_mb6582.hex files, which uses the memory range 0x3000 to 0x17fff, but I seem to missing the boot loader code?

Appreciate any suggestions and guidance...

 

Screen Shot 2020-03-17 at 2.49.14 AM.png

Screen Shot 2020-03-17 at 2.48.31 AM.png

IMG_1048.jpg

Edited by dwestbury
Link to comment
Share on other sites

setup_mb6582.hex you must upload via Midi and MIOS Studio

You also don't need Mblab, you just need the Programmer for the Bootloader  https://youtu.be/3EkNUa2nSDE Links in the description.

Bootloader http://ucapps.de/mios_studio.html

http://ucapps.de/mios_download.html

 

 

Edited by Noise-Generator
  • Like 2
Link to comment
Share on other sites

On 3/17/2020 at 6:53 AM, Noise-Generator said:

setup_mb6582.hex you must upload via Midi and MIOS Studio

You also don't need Mblab, you just need the Programmer for the Bootloader  https://youtu.be/3EkNUa2nSDE Links in the description.

Bootloader http://ucapps.de/mios_studio.html

http://ucapps.de/mios_download.html

 

 

@Noise-Generator you are of course right my friend..

I spent way too much time trying anything and everything, except what was most obvious and directly in front of my face... Lessons learned...

Fortunately, now I can say that I've walked through the entire end-to-end process of creating the Master and Slave PIC Cores, including bootloader, MIOS OS & MB-6582 specific firmware, as well as setting the proper Device IDs.

I documented the experience here in case anyone else is interested: https://1drv.ms/w/s!AtmSvwylfFJaggnN1TtalEzGQK1C?e=sRlAiG (MS Word format).

Cheers and thanks again!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...