⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 re data flash program.txt

📁 TI 集成高性能24位A/D转换器的8052 核心单片机MSC1210 DATA区的FLASH读写代码。
💻 TXT
字号:
Russ,

oops, I never got back to you on this one, sorry.

I did this to initialize the reset-counter to 20 (just a number arbirarily
chosen) when the program gets downloaded initially.

Since the main program configures one page as flash data memory, the address
07c00h will appear at 00400h when in UAM mode. This is where I declared the
counter in XData in the "C" program. It does not need a label in the
assembly language file to do this mapping, especially since the addresses
are different.

best regards,
Gebhard

-----Original Message-----
From: Anderson, Russell 
Sent: Thursday, October 17, 2002 6:27 PM
To: Haug, Gebhard
Subject: Data Flash Program


Gebhard,

I can't figure out the purpose the file counter.a51

;
         CSEG    AT 07C00H       ; will be mapped to Data memory address
0x400
                                 ; when 1 k is configured as data memory
                                 ; (Y5 version)
         DB      20              ; start with 20
         END

I noticed the map file listed some addresses at 7C00H and I wondered why. 
After looking at this file, I am still wondering. You set apart this 
address but it doesn't even have a label. So what is the purpose?

Thanks,
Russ



------------------------------------------------------------------------
Russell Anderson, Sr. Applications Engineer
MSC1210 - http://groups.yahoo.com/group/TI-MSC/
Texas Instruments, 6730 S. Tucson Blvd, MS 206/1, Tucson, AZ 85706
voice: (520) 746-7165   fax: (520) 746-7628

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -