Search found 940 matches

by basicchip
Sat Aug 17, 2019 11:00 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 9
Views: 706

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: 9
Views: 706

Re: BASIC for Arduino ARM

Support files for SAMD21

register definitions --
SAMD21.bas
(46.41 KiB) Downloaded 2 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 2 times
pins_mzero.bas
(7.8 KiB) Downloaded 3 times
pins_zero.bas
(10.95 KiB) Downloaded 3 times
Example files
SAM_Timer.bas
(3.7 KiB) Downloaded 2 times
by basicchip
Wed Aug 14, 2019 10:33 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 9
Views: 706

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: 9
Views: 706

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: 9
Views: 706

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 140 times
by basicchip
Tue Aug 06, 2019 9:09 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 9
Views: 706

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: 9
Views: 706

Re: BASIC for Arduino ARM

Run the BOSSA installer Download these 2 files - BASIC firmware binary for ArduinoZero and MKRzero BASIC_ arduino.zip Unzip the files to some directory Yes this is a moving target, and we are fixing small issues, so check back. These files were last updated Aug 13, 2019. I will keep updating this co...
by basicchip
Tue Aug 06, 2019 8:13 pm
Forum: Future products
Topic: BASIC for Arduino ARM
Replies: 9
Views: 706

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:...
by basicchip
Tue Jul 16, 2019 8:39 pm
Forum: Software issues
Topic: IAP calls in BASIC
Replies: 0
Views: 126

IAP calls in BASIC

IAP calls or In Application Programming, gives access to a number of ROM routines to write flash, enable low power modes, get device IDs and other operations. With the inline Assembly capability of BASIC, it is easy to make these calls. For the LPC1768 we needed access to getting the device ID, in o...
by basicchip
Wed Jun 19, 2019 7:15 pm
Forum: Software issues
Topic: ArmBASIC - contact debouncing
Replies: 2
Views: 241

Re: ArmBASIC - contact debouncing

We have moved away from the builtin ON type statements, as they are too limiting. In the blog and forum are now examples of multitasking that can easily handle button debounce. Another new example in the blog and forum shows an example of generating interrupts on a pin transition. For a debounce for...