Search found 952 matches

by basicchip
Mon Aug 19, 2019 4:22 pm
Forum: Kitchen sink
Topic: Tool for exploring timing of ARMbasic Code Constructs
Replies: 1
Views: 780

Re: Tool for exploring timing of ARMbasic Code Constructs

When I have wanted to measure the time of some function, I usually just to a simple loop i=1000000 while i ' insert code to be tested here i=i-1 loop while loops counting down are the most efficient in BASIC, and therefore the least overhead. On most of the 50 MHz parts this loop takes around 300 ms...
by basicchip
Mon Aug 19, 2019 2:55 pm
Forum: Kitchen sink
Topic: Simple Benchmarks
Replies: 7
Views: 1184

Re: Simple Benchmarks

I found a PC BASIC that is compiled rather than interpreted. It is QB64 and compiles to 64 bit op codes, it comes it about 10x faster than the PC-ARMbasic emulator.

Added that to the benchmarks blog table. https://www.coridium.us/coridium/blog/some-benchmarks
by basicchip
Sat Aug 17, 2019 11:00 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Got the video almost ready for the Kickstart campaign

https://www.youtube.com/watch?v=4ti43rCeyVc
by basicchip
Wed Aug 14, 2019 10:45 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Support files for SAMD21

register definitions --
SAMD21.bas
(46.41 KiB) Downloaded 17 times
pin naming files -- seems like Arduino likes renaming which we find difficult to support in firmware, so #include files
pins_mkrzero.bas
(9.08 KiB) Downloaded 19 times
pins_mzero.bas
(7.8 KiB) Downloaded 17 times
pins_zero.bas
(10.95 KiB) Downloaded 19 times
Example files
SAM_Timer.bas
(3.7 KiB) Downloaded 17 times
by basicchip
Wed Aug 14, 2019 10:33 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Known issues as of 8/14

STOP statement in a program does not quite work correctly

USB 3.0 still flakey, not sure there is a fix for it, seems to have complaints about it in the Arduino forum.
by basicchip
Sat Aug 10, 2019 12:27 am
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Note to self -- program bootloader for SAMD21G MKRZero After stumbling around for an afternoon trying to figure out how to load a BOSSA compatible bootloader onto a MKR Zero clone, I accidentally stumbled onto how to do it. Using a uLink2 connected to the SW debug pins Use Arduino IDE, under tools ...
by basicchip
Tue Aug 06, 2019 9:12 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Then restart the Arduino (in this case a MKRZero), and startup BASICtools

You should see this welcome screen and you are ready to write BASIC programs on the Arduino
arduino2.jpg
arduino2.jpg (37.66 KiB) Viewed 562 times
by basicchip
Tue Aug 06, 2019 9:09 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Before you run the BOSSA app, get the Arduino into download mode. Do that by hitting the RESET button twice. Run BOSSA app MAKE SURE you set the OFFSET to 0x2000 otherwise you will brick your part and require an ICE download arduino1.png Choose the serial port Choose one of the binary files Set Fla...
by basicchip
Tue Aug 06, 2019 8:22 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Run the BOSSA installer Download these 2 files - BASIC firmware binary for ArduinoZero and MKRzero The files have been removed, and are available to Kickstarter backers. It will cost you a buck, but if you need it more than I do, I'll refund it after you back the Kickstarter (assuming you have a Pay...
by basicchip
Tue Aug 06, 2019 8:13 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 10
Views: 1163

Re: BASIC for Arduino ARM

Steps to download BASIC for SAMD21 If you have not download the BASICtools IDE download and install that now https://coridium.us/files/setupBASIC.exe then download the latest release BOSSA app which loads BASIC firmware https://github.com/shumatech/BOSSA/releases And this is the one we used - https:...