View previous topic :: View next topic |
Author |
Message |
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
E3 Mini board Read PIC |
Posted: Mon Oct 12, 2020 10:16 am |
|
|
Completed the experiment in Welcome screen.
Print to terminal.
With a bootloader where is the menu to Read and Erase PIC please?
Have done it with CCS Load and a 16F877A board.
Don't know where menu is with a bootloader.
Thanks! _________________ PIC Hobbyist |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Oct 12, 2020 2:44 pm |
|
|
Remember, we don't have the Rapid USB pdf manual because we can't find it on the net.
Generally, bootloaders don't have an option to bulk erase the PIC.
You just download a new Hex file, and the bootloader code in
the PIC will erase blocks of program memory as needed when
it writes the new program to memory.
Bootloaders also generally don't have an option to read the PIC. |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Mon Oct 12, 2020 4:22 pm |
|
|
Thank you PCM programmer
This is the first bootloader we have ever had.
Do understand their heyday was when a PIC start was $150.
Guess the first order of business is to find the bootloader file.
Then make sure it is just a simple matter of programming it in.
Point being we do want to be able to repair it if it gets corrupted.
'don't have the Rapid USB pdf manual'
PM me with email.
I can send you Rapid USB Exercise book.
Not a manual but it is something.
Thanks!
_________________ PIC Hobbyist |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9229 Location: Greensville,Ontario
|
|
Posted: Mon Oct 12, 2020 5:20 pm |
|
|
is this the CCS 'rapid USB' board you're using ??? |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Oct 12, 2020 8:31 pm |
|
|
Regular Guy wrote: |
'don't have the Rapid USB pdf manual'
PM me with email.
|
I don't want to do that because then I'd be the exclusive person to
answer your questions. |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Tue Oct 13, 2020 6:26 pm |
|
|
Thank you temtronic
' CCS 'rapid USB' board you're using ?'
Yes. Everything in my signature is CCS.
Thank you PCM programmer
'don't want to do that because then I'd be the exclusive person to
answer your questions.'
Okay.
Actually in the meantime it seems like a lot of people may have it already.
Look at the Datasheet directory in the compiler you own.
In a couple of ours all the exercise books are there.
It just defaults or is on the exercise book when you first open it for kit
compiler came with.
Thanks! _________________ PIC Hobbyist |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Tue Oct 13, 2020 8:28 pm |
|
|
I just noticed PCM programmer changed the subject to the Rapid USB kit
in the first response.
It is the E3 Mini board we want to find the bootloader file for.
Thanks! _________________ PIC Hobbyist |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Wed Oct 14, 2020 12:03 am |
|
|
Understand that bootloader's, do not have the ability in general to 'read'
the PIC, or 'erase' the PIC. They are written so they erase a block
automatically, when new data is written in, and don't have the code to read
a chip. So a bootloader does one job loads code into the PIC...
When using a 'programmer', they offer such options. A bootloader does
not. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Oct 14, 2020 9:43 am |
|
|
Regular Guy wrote: |
Guess the first order of business is to find the bootloader file.
Then make sure it is just a simple matter of programming it in.
Point being we do want to be able to repair it if it gets corrupted.
|
Go to this page:
http://www.ccsinfo.com/e3mini-board.php?navcode=/e3book
Near the bottom of the page, there is a link to the E3mini firmware image
(.hex file), and instructions on how to program it into the board. |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Wed Oct 14, 2020 10:30 am |
|
|
The bootloader is normally written so it won't overwrite itself, so even
if the program you try to load is 'corrupted', the bootloaxder will still
be there. |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Wed Oct 14, 2020 4:12 pm |
|
|
Thank you Ttelmah
' bootloader does one job'
Like we said earlier. This is our first bootloader.
It is sort of going backwards from using a programmer, debugger or emulation.
It is interesting.
Thank you PCM programmer
'Go to this page'
You got us there!
That was our next step. Moving along probably a little too fast testing
these CCS compilers and hardware.
Thank you Ttelmah
'program you try to load is 'corrupted''
Think we said 'if bootloader gets corrupted'.
Then. You need to have the .hex file handy or you have a brick.
Non functional electronic device. _________________ PIC Hobbyist |
|
|
Ttelmah
Joined: 11 Mar 2010 Posts: 19520
|
|
Posted: Thu Oct 15, 2020 12:26 am |
|
|
The 'point' about a bootloader, is it allows the code to be updated, without
having to make the physical connection needed by a programmer. Given
that many boards have a serial or USB connection 'already', it allows code
changes 'in the field'. For development work a programmer is much more
capable. Downside of the bootloader, is it costs some ROM in the chip. |
|
|
Regular Guy
Joined: 04 Jun 2017 Posts: 110
|
|
Posted: Thu Oct 15, 2020 4:48 pm |
|
|
Thank you Ttelmah _________________ PIC Hobbyist |
|
|
|