Hello,
Is it possible to switch code banks under program control?
For example bank one samples measurements, but after 24 hours, is switches to bank 2.
Bank 2 processes the results and returns back to bank one.
Switching code banks
Re: Switching code banks
I don't think so. I have to look at the source code to see if it can be done. If it can be done it will be done using a parameter that is read during the auto run phase.
Re: Switching code banks
Not necessary to switch banks, really. You can write the BASIC code in two parts, one for sampling, the other for processing.
If you're short on memory, you can ask the admin about a version with asymmetrical banks. Then you can fit everything in bank 1 and do the switch-over in your own code.
BTW, it is EXTREMELY simple to interface a 512 K-bit 24LC512 EEPROM to the EzSBC1 - it can even be done on the underside of the processor board; all you need is the 8-pin DIL chip and two resistors! Then you will have 64 KB of non-volatile data space available!
If you're short on memory, you can ask the admin about a version with asymmetrical banks. Then you can fit everything in bank 1 and do the switch-over in your own code.
BTW, it is EXTREMELY simple to interface a 512 K-bit 24LC512 EEPROM to the EzSBC1 - it can even be done on the underside of the processor board; all you need is the 8-pin DIL chip and two resistors! Then you will have 64 KB of non-volatile data space available!
- Attachments
-
- 512kEEPROM.jpg (16.35 KiB) Viewed 11057 times