Search found 1035 matches

by basicchip
Thu Nov 26, 2020 2:07 am
Forum: Kitchen sink
Topic: ProStart I/Os are scrambled
Replies: 4
Views: 1392

Re: ProStart I/Os are scrambled

Hi Ron- Does the welcome message say it is for the BASICchip? I am wondering if a board in stock had the wrong firmware or an older version. It should report 8.40b as the version. Here is that firmware, which you can load by copying into the directory where BASICtools is (usually /Program Files (x86...
by basicchip
Mon Oct 19, 2020 2:44 pm
Forum: Software issues
Topic: ARMbasic problem to read/write DAC registers
Replies: 6
Views: 2031

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: 2031

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: 2031

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 2:01 pm
Forum: Software issues
Topic: ARMbasic not running in a win32 enviorment
Replies: 4
Views: 1633

Re: ARMbasic not running in a win32 enviorment

32 bit version of BASICtools at

UPDATE --

SetupBASIC now installs this version of BASICtool32.exe along with the 64 bit version. So see the instructions below for installation of the 32 bit version
by basicchip
Tue Sep 22, 2020 1:48 pm
Forum: Software issues
Topic: ARMbasic not running in a win32 enviorment
Replies: 4
Views: 1633

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: 2872

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: 2872

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: 2872

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: 2872

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 2870 times