Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Boot Loader and protected file

Status
Not open for further replies.

koky

Full Member level 2
Joined
May 12, 2001
Messages
145
Helped
11
Reputation
22
Reaction score
8
Trophy points
1,298
Location
Italy
Activity points
1,097
I haven't understend if (for a Pic and AVR Mega) I can take an upgrade firmware file and put directly into cpu (with programmer and not with bootloader function).
If it is thrue, in this mode the firmware is not protected, can someone confirm this ??

tnx
 

When you put your software with a programmer into PIC or AVR (or even some 8051) there are a lot of fuses which you should be able to manipulate with the programmers software.

Look for the Code Protection fuses and activate them before programming.

Afterwards program the desired cpu and your code will be protected agains readout :)

hope this helps
 

ok, but my curiosity is if I download a firmware ( not my) from internet and put it in cpu with programmer, will device cloned??
 

koky said:
ok, but my curiosity is if I download a firmware ( not my) from internet and put it in cpu with programmer, will device cloned??
If you are programming this chip with downloaded firmware, there are two options:
1. device wasn`t code protected (so you can read it), and firmaware was partial
2. device was code protected (so to update you need to erase whole device, eeprom too) and firmware was complete.
These are true for PIC microcontrollers. If firmware should be applied via special software and direct connection to device firmware file can be even encrypted and digitally signed, because some PIC device have capability to change own flash memory by own program stored in flash memory (it is called self-programming).
 

If I use bootloader Can I protect my firmware ?
 

Salam gzorzi,

The Bootloader load your flash code memory with new firmware and the code protection protect the code from any read out.

So yes, But when you download your new code using the bootloader, ensure that you activate the code protect fuses from this code.

Bye
 

Exist some boot loader for PIC 16F886 ,16F876 which work with encrypted HEX files to protect my FW?
Help please.

Somone pherhaps hnow,AVR has basicaly this feature...
**broken link removed**
 

No way. come to Atmega... Sorry PIC
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top