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.
First of all, thanks for interesting.
I'm developing a bootloader therefore I write each line of .hex file.
I don't know what address I'll write, simply, I read every line, take address, take byte and write that.
Can I overwrite ALL firmware, or not?
If I want to store only 1 OPCODE, for example:
I would write 000100 at address 000000.
Can I, or not?
- - - Updated - - -
I am trying to write in PM. I found this .asm library in AN1094 (Bootloader UART)
_LoadAddr: ;W0=NVMADRU,W1=NVMADR - no return values
mov W0,NVMADRU
mov W1,NVMADR...
Hi guys,
I need to flash program memory, actually I use this function for write/read EEPROM:
Write And Read:
unsigned short Eeprom_ReadWord(unsigned short addressHi, unsigned short pushAddress) {
unsigned short ushResult;
register int eedata_addr;
register int eedata_val...
Hi, I'm trying to write a .hex file on a dspic 30f5013 using a flashing program created on my own , this is a line of the file:
:10021000050007000c000700e204020000000000d7
I studied the structure of hex files but I still have a question for you. I underlined the first,second,third and fourth...
Hi,
I'm using ICD3 to flash my firmware in dspic30f5013 but now I'm coding a bootloader that allows me to load the built-firmware (.hex) via canbus through my IDE developed in C#.
I must write .hex file only in Program memory ???
Thanks.
Thank you very much!
If I type this code:
//Read and write 1
Eeprom_WriteWord(&ushEepromData[0], 0x0023);
uchValue = Eeprom_ReadWord(&ushEepromData[0]);
//Read and write 2
Eeprom_WriteWord(&ushEepromData[1], 0x1111);
uchValue2 = Eeprom_ReadWord(&ushEepromData[1]);
The first time, the program...
Sorry me for the lack information.
I am using MPLAB 8.92 and C30 compiler.
I don't know that I add a deelay.
I attacched eeprom_rw.h and eeprom_rw.s file.
If I would write a number like 55 in the first position and after read I must type:
WriteWord(0,55);
a=ReadWord(0);
But this code...
Hi,
actually I'm using eeprom_rw.h library developed by btbass but it doesn't work.
I debugged my simple program carefully and the EEPROM's values doesn't change.
Someone have a solution?
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.