-
Content Count
2,126 -
Joined
-
Last visited
-
Days Won
140
Reputation Activity
-
Rei Vilo got a reaction from spirilis in RP2040 - The Raspberry Pi Pico
Forget the Arduino IDE! I would recommend using Visual Studio Code with the C/C++, Arduino and Cortex-Debug extensions.
The Raspberry Pi Pico acting as programmer-debugger is called Picoprobe. It also features redirection of the Serial1 port.
The installation process is detailed at the earlephilhower/arduino-pico page. You may need to build OpenOCD with specific options. It is easy and works fine.
Debugging is performed from Visual Studio Code. Obviously, you can use manual command-line GDB and OpenOCD. The only caveat is Serial1 should be used instead of Serial to print to the console.
Please find some pointers below.
References:
https://code.visualstudio.com https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug https://github.com/earlephilhower/arduino-pico#debugging-with-picoprobepico-debug-openocd-and-gdb https://github.com/raspberrypi/openocd https://embeddedcomputing.weebly.com/raspberry-pi-pico-rp2040-board.html https://embeddedcomputing.weebly.com/debugging-against-the-pico-board.html -
Rei Vilo got a reaction from spirilis in RP2040 - The Raspberry Pi Pico
At USD4 apiece, you can use the second Raspberry Pi Pico as a programmer-debugger. It works really well!
-
Rei Vilo got a reaction from spirilis in RP2040 - The Raspberry Pi Pico
Thank you for the pointer to the Challenger RP2040. It is nice to see the designers refrained from reinventing the wheel and took the Feather form-factor. Same for the LTE (SARA-R410M) or the WiFi radio (ESP8265).
The Raspberry Pi Pico RP2040 is a very good board and I strongly recommend the Earle Philower's Pico core for Arduino over the official Arduino mbed-based implementation.
There is a whole eco-system built around the Raspberry Pi Pico with many interesting kits. Let's me mention the E-Paper Display Pico Kit (EPDK), an all-in-one e-paper kit from Pervasive Displays.
-
Rei Vilo reacted to bluehash in Forum flooded with spam
Hi All,
I cleaned up the site last week. This year has not been the greatest for me(and for alot). Pardon the neglect. True that the blog has not been update, but I have not seen much content on the MSP430/432. Also TI's E2E has been vastly popular.
There was no "commercial" side. I still pay for server and forum licenses out of pocket.
I've kept it up since there is alot of useful info and people benefit from it.
-
Rei Vilo reacted to StefanSch in MSP430 use FRAM above 0x10000
Thanks, for the feedback.
I have already implemented the fixes based on your findings and planning for an update release of this package.
-
Rei Vilo got a reaction from Abdul400 in BME680 Adafruit sensor library for Energia CC3200 launchpad
You could use a library designed for Arduino.
See
Porting an Arduino library to Energia -
-
Rei Vilo reacted to StefanSch in MSP430 use FRAM above 0x10000
It looks like that the compiler setting for the large memory model is not set correct.
can you open the platform.txt file in
c:/users/johnw/appdata/local/energia15/packages/energia/hardware/msp430elf/2.0.7/platform.txt
and change line 21 from
compiler.mlarge_flag=-mlarge -mcode-region=upper
to
compiler.mlarge_flag=-mlarge -mcode-region=either
-
Rei Vilo got a reaction from Jul10 in BMP280 library for MSP430FR5969LP using CC/Energia
You can use a library for Arduino and adapt it to the MSP430.
Porting an Arduino library to Energia -
Rei Vilo got a reaction from bluehash in MMA8452Q / MSP-EXP430G2ET
Please have a look at
Information to Provide When Asking for Help I²C Check-List I guess you're using the MMA8452 on I²C.
-
Rei Vilo got a reaction from DianaD in TEA5767 Library--Radio Module with energia
The RAM of an MCU can’t be expanded. Go for another LaunchPad with a more capable MCU.
-
Rei Vilo reacted to StefanSch in I2C communication in energia background with MSP430F5529
When using the latest version of Energia the wire (I2C) has now the function
setClock
to set to 400k use setClock(400000UL);
-
Rei Vilo got a reaction from TlaunchPad in RED_LED and GREEN_LED work opposite
Yes, this is a bug, sorry a feature of the MSP-EXP430G2ET!
-
Rei Vilo reacted to NurseBob in BOOSTXL-SHARP128 with MSP-EXP430FR5969
I'm going to assume you want to actually learn, and not just be handed "the answer." Take a look at this on stackoverflow, it should help you figure out a solution your problem.
-
Rei Vilo got a reaction from MichelKohler in Some Misconceptions about Libraries
I'm receiving many mails about the libraries I've developed and I'm sharing.
The libraries are plug-and-play as I'm using them in my projects. However, they are designed for a specific configuration. For example, a SD-card library requires a minimum of 512 bytes of RAM as this is the size of a sector. So it won't work on the MSP430G2553.
With so many LaunchPads, BoosterPacks and components possible combinations, the one-fits-all approach is just impossible. It would end with lengthy and hard to read code with many pre-processing statements. For example, changing the pins names for the pins numbers improves the portability of the library across the LaunchPad range of boards.
Even if the library works out of the box, they are provided as examples and require some work from the user. This is the best way for learning. The user should read and understand them, and then customise them so they can match his/her exact needs.
With new hardware and software releases coming out, a library may suffer from obsolescence. It used to work with a prior version but no longer works with the new one. For example, each new release of Energia or CCS adds new features and some times modifies others in order to ensure compatibility across the whole range.
Finally, feel free to improve and share back the libraries with the community
This is a cross-post with Stellarisiti.
-
Rei Vilo got a reaction from MichelKohler in I2C channels in Stellaris
Use `setModule()` as described in https://github.com/energia/Energia/blob/master/hardware/lm4f/libraries/Wire/Wire.cpp#L599
void setup() { Wire.setModule(3); Wire.begin(); ... } Similar logic applies for UART and SPI.
As an alternative, declare the variable as in https://github.com/energia/Energia/blob/master/hardware/lm4f/libraries/Wire/Wire.cpp#L161
TwoWire Wire2(2); -
Rei Vilo got a reaction from MichelKohler in [Energia Library] I
Please find a library for the I
INA219_Distribution206.zip
-
Rei Vilo got a reaction from enl in Best way change I2C freq to 400kHz
Please refer to Wire.cpp#L121-L123
I2C_Params_init(¶ms); params.transferMode = I2C_MODE_BLOCKING; params.bitRate = I2C_400kHz;
-
Rei Vilo reacted to NurseBob in Using Adafruit's Fingerprint scanner with Msp430G2553
" Multiple libraries were found for..."
You've got a configuration error message. Time to read the docs on porting from other libraries.
How-To: Porting Libraries Posting a Library for Energia Some Misconceptions about Libraries The above may provide guidance. I am not able to help much beyond this suggestion as I'm deeply involved in other non-coding projects at this time.
-
-
Rei Vilo got a reaction from Nicole in MSP low power configuration
Please refer to
Ultra-Low Power with MSP430 at https://embeddedcomputing.weebly.com/ultra-low-power-with-msp430.html Ultra-Low Power with Energia MT and Galaxia at https://embeddedcomputing.weebly.com/ultra-low-power-with-energia-mt-and-galaxia.html The MSP432P401R LaunchPad programmer features EnergyTrace to be used with Code Composer Studio.
Ultra-Low Power with EnergyTrace at https://embeddedcomputing.weebly.com/ultra-low-power-with-energytrace.html -
-
Rei Vilo got a reaction from Fmilburn in Simple Radio Library for CC1310
The CC1310 LaunchPad has a sub-1 GHz radio.
On Energia,
Install the EasyLink library by calling the menu Sketch > Include Library > Manage Libraries..., then select EasyLink and click Install. Select the board CC1310 LaunchPad. Call the menu File > Example > EasyLink > EasyLinkTX for the transmitter example. Call the menu File > Example > EasyLink > EasyLinkRX for the receiver example. Both examples work together. Obviously, you need two CC1310 LaunchPad boards!
-
Rei Vilo got a reaction from Myra in Basic blink program unable to be uploaded on MSP320fr2355 on macOS 10.13.3 High Sierra
It was important to be sure, as the standard uploader DSLite doesn't work on macOS 10.14 but used to work on macOS 10.13.
macOS 10.14 has changed the way USB ports are enumerated and named.
-
Rei Vilo got a reaction from Myra in Basic blink program unable to be uploaded on MSP320fr2355 on macOS 10.13.3 High Sierra
Which release of macOS?
See
Information to Provide When Asking for Help macOS 10.14 — Upload to MSP430FR5994 Fails #69