常见问答

FAQ

How to program SPROM in Keil C51?  Issue Date:2019-10-02

1. Open the “Options for Target” window

269-1

2. Specify the APROM and SPROM output file on User page.

(1) Check the “Run #2”

(2) Key in the following statement:

..\..\..\..\Library\Startup\exe\hex2bin.exe  .\output\@L.hex 0x0 0x1000 0xFF80 0x80

0x0 is the start address of APROM.

0x1000 is the code size of APROM.

0xFF80 is the start address of SPROM.

0x80 is the code size of SPROM.

269-2

3. Set the Flash Programming option on Utilities page

(1) Click the “Settings” icon to open the “Nu-Link Driver Setup” window

(2) Check the “Update SPROM”

269-3

4. Re-build and Download

269-4

Products: Microcontrollers ,8bit 8051 MCUs
Applications:
Function: