MCUmall EPROM BIOS Chip Burner Forum
MCUmall EPROM BIOS Chip Burner Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 MCUmall Forums
 TOP USB Programmer
 Top 2004 and Topwin
 Forum Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Hugo

Australia
4 Posts

Posted - 05/26/2005 :  07:57:39  Show Profile
Any one has experience with loading eeprom memory in different location (address)
Any time I loaded hex say for pic16fxx pic16fxxx in Topwin the eeprom memory goes to 4200 instead to 4000
I know the MPLAB compiling the hex to
:10025000F8302F210000980B28290800F930FF3EC4
:06026000031D2F29080018
:1042000000000100000000000000020000000000AB
:104210000000030000000000000004000000000097

4200, but all rest of the software for different programmers setting eeprom to 4000 without adjustment.
Any suggestion.
Thanx

Edited by - Hugo on 05/26/2005 08:07:28
Reply #1

usb

138 Posts

Posted - 05/26/2005 :  18:12:22  Show Profile
The TOPWin is right. Your data is located at address 4200.
one way you can do is load the data to 4200, then save it as .bin file. Then use a binary editor to move those data to 4000 then save and open it by TOPWin.

This may not be a good way, but it may work.
Go to Top of Page
Reply #2

Hugo

Australia
4 Posts

Posted - 05/26/2005 :  19:10:51  Show Profile
Hi
I know TopWin it is right, but for example PICALL/WIN or IC-PROG always burn the eeprom in 4000 and MPLAB from Microchip always compiling the EEPROM in 4200 it’s no problem to edit hex file by the self but why it is that
Thanx
Go to Top of Page
Reply #3

usb

138 Posts

Posted - 05/27/2005 :  11:12:31  Show Profile
I think both are not wrong. This is totally defined by the programmer software. As long as the data is not overlaped with the code. And the programmer's software knows where to look at the code and data.

When the software to program the device, it will use data location they defined.

So, different programmer software may have different data start location. Of cause it will be nice if they all use same address for data.

Edited by - usb on 05/27/2005 15:15:33
Go to Top of Page
Reply #4

Hugo

Australia
4 Posts

Posted - 05/31/2005 :  03:54:30  Show Profile
Hi
I know both are right but still the MPASMWIN (assembler) from Microchip producing HEX with address 4200 for some reason, but in micro the address is 4000 so why TopWin not adjust the address automatically. Jep you saying not all have same address but mostly for PIC family it is used MPASMWIN as compiler which locate the eeprom address about +200 so why?? Microchip or TopWin??
Thanx
Go to Top of Page
Reply #5

tulufan

28 Posts

Posted - 06/17/2005 :  15:48:53  Show Profile
May be +200 is a standard.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked
 Printer Friendly
Jump To:
MCUmall EPROM BIOS Chip Burner Forum © Copyright 2003 - 2009 Mcumall Electronics Inc. Go To Top Of Page
Generated in 0.08 sec. Snitz Forums 2000