When running on Embedded Project Oberon, SwitchTest.Run gives:
Switch 2 is on
Switch 3 is on
Switch 6 is on
Switch 7 is on
As my Nexys A7 board has 16 switches, I have changed SwitchCount = 16; but they do not show up?
Search found 35 matches
- Tue Apr 16, 2024 11:53 pm
- Forum: Astrobe for FPGA RISC5
- Topic: Additional switches not detected on Nexys A7 board
- Replies: 1
- Views: 50
- Thu Apr 11, 2024 12:57 am
- Forum: Astrobe for FPGA RISC5
- Topic: Can I use a USB keyboard with Embedded Project Oberon?
- Replies: 1
- Views: 42
Can I use a USB keyboard with Embedded Project Oberon?
Is it possible to attach and read in a USB keyboard directly when using Embedded Project Oberon on a Nexys A7 board?
- Mon Dec 11, 2023 8:21 pm
- Forum: Bug Reports
- Topic: SYSTEM.LNK Issue
- Replies: 1
- Views: 1908
SYSTEM.LNK Issue
Incorrect code is generated when SYSTEM.SP is used as a parameter to BITS e.g. IF 2 IN BITS(SYSTEM.SP) THEN . 8 08H 02004H movs r0,#4 . 10 0AH 04201H tst r1,r0 . 12 0CH 0468DH mov sp,r1 it should be something like: IF 2 IN BITS(SYSTEM.SP) THEN . 8 08H 04668H mov r0,sp . 10 0AH 02104H movs r1,#4 . 12...
- Thu Nov 16, 2023 4:06 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Module initialisation order?
- Replies: 1
- Views: 4940
Re: Module initialisation order?
Yes. If you have the Professional Edition you can confirm the order of module initialsation by disassembling the application and looking at the sequence of <modulename>..init calls in the initialisation code procedure (e.g. Blinker..init) of your application.
- Thu Nov 16, 2023 3:56 am
- Forum: Astrobe for ARM Cortex-M0, M3, M4 and M7
- Topic: Module initialisation order?
- Replies: 1
- Views: 4940
Module initialisation order?
Does the module list in the 'map' file for a linked program represent their initialisation order, top to bottom?
- Thu Nov 16, 2023 3:54 am
- Forum: Bug Reports
- Topic: Stack Trace option disabled?
- Replies: 1
- Views: 1771
Re: Stack Trace option disabled?
The information in the Astrobe for Cortex-M0 Help file is incorrect. The Stack Trace option is not disabled. The warning in the Help file for the Stack Trace option should instead say: NOTE: Select Project > Rebuild from the main menu to rebuild applications after this setting is changed to ensure t...
- Thu Nov 16, 2023 3:50 am
- Forum: Bug Reports
- Topic: Stack Trace option disabled?
- Replies: 1
- Views: 1771
Stack Trace option disabled?
The Astrobe manual says about option "Stack Trace": "In Astrobe for Cortex-M0 this checkbox is disabled. The option is ticked by default and cannot be changed." However, I can deselect the option. At some point I got a linker error message "Inconsistent Stack Trace setting: ...". Selecting the optio...
- Thu Nov 16, 2023 2:03 am
- Forum: Bug Reports
- Topic: Register r12 stacked on exception, not r11?
- Replies: 1
- Views: 1823
Re: Register r12 stacked on exception, not r11?
Thank you for letting us know. Yes - that is an error in Astrobe for Cortex-M0, M3, M4 and M7 which will be fixed in the next release. In the meantime, you can fix the problem by changing "r11" to "r12" in the procedure OutStackItem in the library module Traps.
- Thu Nov 16, 2023 1:57 am
- Forum: Bug Reports
- Topic: Register r12 stacked on exception, not r11?
- Replies: 1
- Views: 1823
Register r12 stacked on exception, not r11?
According to the MO docs, R12 gets stacked with an exception, but module Traps prints "r11". I think it should be "r12" if I read the code correctly, and if the docs are accurate.
- Tue Feb 22, 2022 11:02 pm
- Forum: CPIde and Component Pascal
- Topic: GPCP Unhandled Exception
- Replies: 3
- Views: 11974
GPCP Unhandled Exception
I have installed Component Pascal and CPIde on my Windows 10 laptop. When I try to compile the simple "Hello World" example within CPIde I see: Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. at GPBinFiles.GPBinFiles.findOnPath(Char[] pathNam...