Search found 1024 matches

by basicchip
Mon Oct 19, 2020 2:44 pm
Forum: Software issues
Topic: ARMbasic problem to read/write DAC registers
Replies: 6
Views: 231

Re: ARMbasic problem to read/write DAC registers

I've updated the library in the installer for the SAMD21, as well as the SAMD21_timer example. There is a way you might have seen this. One option in BASICtools is to show the pre-processor output, which loads that into your editor. It would have shown - directvalue = RD_HALF(*&H4200401A) ' note the...
by basicchip
Mon Oct 19, 2020 2:07 pm
Forum: Software issues
Topic: ARMbasic problem to read/write DAC registers
Replies: 6
Views: 231

Re: ARMbasic problem to read/write DAC registers

The SAMD21 uses a lot of byte and half-word registers, something that most other ARMs do NOT use. Our SAMD21.bas file is written as if all the registers are word oriented. We should change that to define JUST the address. We have defined them as *&H42004800 for the DAC for instance. What that is is ...
by basicchip
Wed Oct 14, 2020 10:32 pm
Forum: Software issues
Topic: ARMbasic problem to read/write DAC registers
Replies: 6
Views: 231

Re: ARMbasic problem to read/write DAC registers

There is an index item for Register Access in the Help files (using the C pointer syntax) https://www.coridium.us/ARMhelp/scr/HWaccess.html Make sure the clocks are enabled for the DAC. * access must be word aligned (addresses multiples of 4) WR_HALF/RD_HALF have to be half word aligned (addresses m...
by basicchip
Tue Sep 22, 2020 1:48 pm
Forum: Software issues
Topic: ARMbasic not running in a win32 enviorment
Replies: 3
Views: 390

Re: ARMbasic not running in a win32 enviorment

BASICtools is a Tcl file, and it uses FreeWrap as a runtime environment. About a year ago I started seeing issues of running 32bit apps on 64bit Win10. They would work, but would often pause for a couple seconds, and that was cured by switching to a 64 bit version. I wasn't sure there were any 32bit...
by basicchip
Thu Sep 03, 2020 5:43 pm
Forum: Software issues
Topic: Pre-processor error
Replies: 9
Views: 1106

Re: Pre-processor error

As part of trying to fix it I updated the NSIS installer that I use, though that did not help. I checked the SetupBASIC.exe against the virus total website, and it reported 1 detection out of 64 virus scanners. My own virus scanner thinks its OK. And there are some reports of false positive detectio...
by basicchip
Wed Sep 02, 2020 9:05 pm
Forum: Software issues
Topic: Pre-processor error
Replies: 9
Views: 1106

Re: Pre-processor error

Thank you for the report, the installer has been fixed to not rely on the Windows registry to find the BASIC libraries and Example directory.
by basicchip
Wed Sep 02, 2020 6:25 pm
Forum: Software issues
Topic: Pre-processor error
Replies: 9
Views: 1106

Re: Pre-processor error

Looks like Windows update has struck again, the installer commands to write pointers for Coridium into the registry are not happening. So I am working on a workaround.
by basicchip
Wed Sep 02, 2020 5:33 pm
Forum: Software issues
Topic: Pre-processor error
Replies: 9
Views: 1106

Re: Pre-processor error

For some reason the pointer to the BASIC libraries is not getting set by the installer, still looking into why

But you can set it manually in the Tools menu, and that setting will be remembered. They are in your user/documents/coridium/BASIClib directory
bugfix.jpg
bugfix.jpg (50.32 KiB) Viewed 1104 times
by basicchip
Wed Sep 02, 2020 4:12 pm
Forum: Software issues
Topic: Pre-processor error
Replies: 9
Views: 1106

Re: Pre-processor error

OK I did duplicate it on a "virgin" system, looking into it now.

Can you compile the Blinky.bas example (under Tools)