aanon4 / BlueBasic

BASIC interpreter for CC2540 and CC2541 Bluetooth LE chips
https://gitlab.com/timwilkinson/BlueBasic
97 stars 55 forks source link

how to load basic programs on the chip? #30

Open pabloxid opened 7 years ago

pabloxid commented 7 years ago

Is this "console" app. mean to load basic programs on the chip? Is there a Windows version?

0xFACE commented 7 years ago

Yes, with console app you can load, list, edit programs on the chip. Unfortunately there is no Windows version.

0x2b3bfa0 commented 7 years ago

@pabloxid: You can try BlueBasic-loader. However it's for Linux, not Windows. Maybe you're interested in installing a Linux distribution like Ubuntu... I use it as my main operative system and I don't miss any functionality form M$ Windows 😈

ozarchie commented 7 years ago

I think you can also use Botspine to do it. Although it complains that the devices are not botspines, you can still load basic programs.

On 14 Sep 2016 10:09 PM, "Helio" notifications@github.com wrote:

@pabloxid https://github.com/pabloxid: You can try BlueBasic-loader https://github.com/0xFACE/BlueBasic-loader. However it's for Linux, not Windows. Maybe you're interested in installing a Linux distribution like Ubuntu... I use it as my main operative system and I don't miss any functionality form M$ Windows 😈

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aanon4/BlueBasic/issues/30#issuecomment-246992677, or mute the thread https://github.com/notifications/unsubscribe-auth/AGLdJ9nUDKQidgTpKgsKeNI2wT4FmWkzks5qp-PdgaJpZM4J7U9u .

pabloxid commented 7 years ago

Thanks for your answers. I have a couple more questions: 1) how the console actually communicates with the device? Via Bluetooth? 2) Can I upload the firmware to the device with a basic program already included, using CC254x debugger? 3) there is some documentation on the console-device protocol? Thank you again.

0x2b3bfa0 commented 7 years ago

@pabloxid:

  1. Yes, vĂ­a Bluetooth 4.0
  2. I don't know, however somebody here could answer that.
  3. Take a look to the script linked in my last message. You can see how it works. However, You could ask the autor for a detailed description.
ozarchie commented 7 years ago

Unfortunately, OSX-Sierra completely breaks the console. Don't upgrade if you don't need to.

kscheff commented 7 years ago

For a working OSX Sierra version see my fork starting at #31

TheSmartGerman commented 6 years ago

You can use the Android Bluetooth Serial Terminal, it allows to use custom UUIDs: https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal&hl=de

It's working with the hex from this fork!

ozarchie commented 6 years ago

I did this a while ago, but gave up on the CC2540 in favour of ESP8266 https://github.com/ozarchie/BlueBasic-loader

On Thu, Aug 9, 2018 at 6:37 AM TheSmartGerman notifications@github.com wrote:

You can use the Android Bluetooth Serial Terminal, it allows to use custom UUIDs:

https://play.google.com/store/apps/details?id=de.kai_morich.serial_bluetooth_terminal&hl=de

It's working with the hex from this fork!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/aanon4/BlueBasic/issues/30#issuecomment-411544077, or mute the thread https://github.com/notifications/unsubscribe-auth/AGLdJxpgMjKBxvuTYBvg27d2zYRZMSpOks5uO0wYgaJpZM4J7U9u .

TheSmartGerman commented 6 years ago

Well, I found a android solution. It's fine for me.

I just mentioned it here. But beware using the branch from kscheff, does have a problem with the cc2541 build: https://github.com/kscheff/BlueBasic/issues/8

The ESP8266 / ES32 a known but right know no option....