Flash Disk Organization and Programming
DOS Programming
2-13
2.6.15 “s” (Show Status)
The “s” command will display the current status of the Flash loader and controller. An example is shown below:
@FLs
Segment Bytes written
080000 000000
090000 000000
0A0000 000000
0B0000 000000
0C0000 000000
0D0000 000000
0E0000 000000
0F0000 000000
0F8000 000000
0FA000 000000
0FC000 000000
Baud: 0x002580
Errors: 0x0000
Auto Erase 01
Verify 00
From Address: 0C0000 To: 080000
Write window: 080000 - 0FBFFF
Application start address: B000:0000
Boot write enabled
Note that the error count is reset to 0 after an “s” command.
2.6.16 “r” (Reboot)
The “r” command will reboot the processor. If JP1 is shorted, the Flash loader will be re-initialized and re-
started. If JP1 is not shorted, the application program will be executed.
2.7 Flash Disk Organization and Programming
There are two methods provided for writing data to the CA386-N1’s Flash file system: (1) copying regular “files”
using a special copy function, (2) using a low-level write function from an application. Method (1) is the simplest
since an application can use standard functions for normal file I/O (e.g., formatted I/O), and then “copy” the
entire file to Flash with a single function. Method (2) may be useful for special application requirements.
Содержание CA386-N1
Страница 1: ...CA386 N1 Networked Embedded PC REFERENCE MANUAL AESTHETICS INC VERSION 1 0 ...
Страница 2: ......
Страница 3: ......
Страница 6: ......
Страница 12: ...Connectors and Jumpers 1 4 CA386 N1 REFERENCE MANUAL FIGURE 1 2 CA386 N1 Parts Locations C JP10 ...
Страница 24: ...Mechanical Information 1 16 CA386 N1 REFERENCE MANUAL ...