njosnari

PIC programming question

8 posts in this topic

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?

Share this post


Link to post
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 

Share this post


Link to post
Share on other sites

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

1 person likes this

Share this post


Link to post
Share on other sites
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)

 

Share this post


Link to post
Share on other sites

What's happening? My PicKit 2 just worked out of the Box by installing the drivers and build an adapter

Share this post


Link to post
Share on other sites

Posted (edited)

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

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now