CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

E3 Mini board Read PIC

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Regular Guy



Joined: 04 Jun 2017
Posts: 110

View user's profile Send private message

E3 Mini board Read PIC
PostPosted: Mon Oct 12, 2020 10:16 am     Reply with quote

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! Smile
_________________
PIC Hobbyist
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 12, 2020 2:44 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Oct 12, 2020 4:22 pm     Reply with quote

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!

Smile
_________________
PIC Hobbyist
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Mon Oct 12, 2020 5:20 pm     Reply with quote

is this the CCS 'rapid USB' board you're using ???
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Oct 12, 2020 8:31 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Oct 13, 2020 6:26 pm     Reply with quote

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! Smile
_________________
PIC Hobbyist
Regular Guy



Joined: 04 Jun 2017
Posts: 110

View user's profile Send private message

PostPosted: Tue Oct 13, 2020 8:28 pm     Reply with quote

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! Smile
_________________
PIC Hobbyist
Ttelmah



Joined: 11 Mar 2010
Posts: 19538

View user's profile Send private message

PostPosted: Wed Oct 14, 2020 12:03 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 14, 2020 9:43 am     Reply with quote

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: 19538

View user's profile Send private message

PostPosted: Wed Oct 14, 2020 10:30 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Oct 14, 2020 4:12 pm     Reply with quote

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! Smile

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: 19538

View user's profile Send private message

PostPosted: Thu Oct 15, 2020 12:26 am     Reply with quote

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

View user's profile Send private message

PostPosted: Thu Oct 15, 2020 4:48 pm     Reply with quote

Thank you Ttelmah
_________________
PIC Hobbyist
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group