Coder Social home page Coder Social logo

How do I install this? about bluebasic HOT 13 CLOSED

aanon4 avatar aanon4 commented on July 20, 2024
How do I install this?

from bluebasic.

Comments (13)

gregwinn avatar gregwinn commented on July 20, 2024

Also note: I am on a mac.

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

I've not had chance to sit down and write the "Getting started" part of the Wiki - sorry about that. Assuming you have some CC2540/1 hardware and the TI CC Debugger to program it, you can use the TI SmartRF Flash Programmer app (free on their website) to program the appropriate target .hex file (in the HEX directory) onto the device. Once that's done, compile the Xcode BlueBasic Console program and, when you run that, you should see the device listed on the left side of the window (name will be BASIC#12 or some other number). Double click the name to connect.

Hope that's enough to get your started.

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

@aanon4 Great! That was perfect! I have connected to the cc2540 but when running the iBeacon example i am getting back "error"

10 REM A SIMPLE IBEACON SERVICE
20 DIM M(3)
30 REM MAJOR
40 M(0) = 0
50 REM MINOR
60 M(1) = 1
70 REM POWER
80 M(2) = 0XC8
90 ADVERT GENERAL
100 ADVERT CUSTOM "FF 4C 00 02 15" "74 27 8B DA B6 44 45 20 8F 0C 72 0E AF 05 99 35" "00 00" M "00"
110 ADVERT END
SAVE
AUTORUN ON
Error
OK

I may be doing something wrong? (Let me know if you want a separate ticket for this opened)

Also: Thanks for the quick feedback!

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Much more likely my example is out of date. Let me check it out and update.

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Very good, Another quick question. If i wanted to change the name and UUID, can i accomplish that with the program (If i can do you have an example??).

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Just remove the SAVE line (bit of a hold over from when code was stored in RAM).

The UUID of the beacon is the string "74 27 8B DA B6 44 45 20 8F 0C 72 0E AF 05 99 35" which you can change for whatever you need. I'll update the example with a name.

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Thank you very much, I am sure I will have more questions... Any place to give a donation??? :)

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Ha :-) This is my "manager detox" project, so all for my own sanity.

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Any way to "erase" what is on the chip using this? (Without using the TI Flashing tool)

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Type "NEW"

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

Thank you! (Please let me know if you want any of the questions in separate tickets for other users)...

from bluebasic.

gregwinn avatar gregwinn commented on July 20, 2024

So far I am loving this BTW!

In the menu "File" I see two options (Load to Device & Upgrade Firmware)

Thus far I have been using a PC to flash the hex file you have provided using the TI Programmer... With one of the two options in the File menu can i do the same? Or will I alway need the TI Software to initially get the hex file to the chip? Can you tell me a little about what both of the menu options do?

from bluebasic.

aanon4 avatar aanon4 commented on July 20, 2024

Load to Device - sends a text file containing a BASIC program to the device.
Upgrade Firmware - after you initially flash the hex file to the device, you may want to upgrade the BASIC later. You can do this from the console program (no cable required) using this option and using the .BIN file (rather than the .HEX file).

from bluebasic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.