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.

Recent content by Matteo Martinelli

  1. M

    How to flash program memory?

    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?
  2. M

    How to flash program memory?

    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...
  3. M

    How to flash program memory?

    Sorry me, I was wrong! Therefore, is different write in EE and PM?
  4. M

    How to flash program memory?

    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...
  5. M

    OPCode .hex file structure

    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...
  6. M

    Flash firmware via CAN

    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.
  7. M

    eeprom write dspic30f5013

    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...
  8. M

    eeprom write dspic30f5013

    I'm using this microcontroller: dspic30f5013 https://ww1.microchip.com/downloads/en/DeviceDoc/70116e.pdf
  9. M

    eeprom write dspic30f5013

    No, I don't know this thread was marked as solved! (I remove SOLVED now) anyone know the answer to the previous question?
  10. M

    eeprom write dspic30f5013

    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...
  11. M

    eeprom write dspic30f5013

    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

Part and Inventory Search

Back
Top