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.

PIC12F683 EEPROM initialization during programmation

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
pic12f683 eeprom

I want put in my assembly code an initializzation data in eeprom during programmation step

readind mplab help i have found :


This example shows the usage of the de directive. This directive is designed mainly for initializing data in the EE data memory region of PICmicro devices with EE data FLASH.

#include p16f877a.inc ;Include standard header file
;for the selected device.
org 2100 ;The absolue address 2100h is
;mapped to the 0000 location of
;EE data memory.
You can create a data or character table starting from any address in EE data memory.

ch_tbl2 de "PICmicro" ;6 EE data memory locations
;(starting from 0) will be filled
;with 6 ASCII characters.
end


but with org 2100 the 12F683 don't work, what is the right value ??
 

programmation du pic12f683

2100H is the right value.
Make sure the radix is set to HEX or specify the address as 0x2100. Make sure you have selected the correct device, too.
 

Ok thanks I have solved
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top