
4.8 Indicator Codes During Downloading
During downloading or internal testing, the four serial ports are disabled and their indicators are used to show system status and error codes.
Indicator layouts are shown in Figure 22.
4.8.1Normal Download Codes
The normal codes appearing during downloading are:
Indication | Meaning | ||
|
|
| |
Port 4 | ±± Flashing two times per second | Ready for downloading | |
|
|
|
|
Port 3 | ±± | ON intermittently | Receiving download from host |
|
|
| |
Port 2 | ±± ON (combined with port 3) | Writing to BM85 RAM | |
|
|
|
|
Port 1 | ±± | ON (combined with port 3) | Erasing BM85 RAM |
|
|
|
|
4.8.2Error Codes
If an error occurs during downloading, or if the user calls the exit() routine, the M85 displays an error pattern in its four indicators.
The error pattern produces two
Indicators
Pattern
Hexadecimal Digit
| 4 ± 3 ± 2 ± 1 | Steady | Upper digit |
| |
|
|
|
|
|
|
4 ± 3 ± 2 ± 1 | Flashing | Lower digit |
| ||
|
|
|
|
|
|
| Error Code |
|
|
|
|
|
|
|
|
| |
| (Hexadecimal) |
| Meaning |
|
|
|
|
|
|
| |
| F1 |
| BM85 kernel is reloading |
| |
|
|
|
|
| |
| F4 |
| Program or task returned to BM85 bootstrap |
| |
|
|
|
|
| |
| F8 |
| Program or task called abort() |
| |
|
|
|
| ||
| FD |
| Could not extend heap ± program called malloc() or equivalent | ||
|
|
| and had insufficient memory |
| |
|
|
|
| ||
| FE |
| Could not create heap ± not enough memory below code area | ||
|
|
|
|
| |
| FF |
| Not enough memory to copy program to RAM area |
| |
|
|
|
|
| |
31007492 |
|
| Configuring the Programmable Models | 67 |