Getting Start with Rapid IoT Kit on MCUXpressoIDE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting Start with Rapid IoT Kit on MCUXpressoIDE

3,218 Views
ashokfair
Contributor IV

Hi Everyone,

Here we going to see the basic "Hello World" sorry  "Ashok World" demo with MCUXpressoIDE

Tools Required:

MCUXpressoIDE -> Download it from here

SDK for Rapid-IoT-Kit -> Download it from here

Rapid IoT Kit

Steps to follow:

-> Import "hello world" project from SDK examples.

pastedImage_7.png

-> In the advanced settings page, uncheck the two options redirect SDK “PRINTF” to C library “printf” and Include semihost Hardfault handler and check the option Redlib: Use floating point version of printf, then press Finish.

pastedImage_8.png

Add below code after "Init_Display()" in hello_world.c file

    /* Display a Message */
    GUI_SetFont(&GUI_Font8x18);
    GUI_SetBkColor(GUI_WHITE);
    GUI_Clear();
    GUI_SetColor(GUI_BLUE);
    GUI_DispString("\n Rapid IoT\n\n");
    GUI_DispString(" Hello World!\n\n");

Then compile your project in-case if you get below errors

pastedImage_9.png

Fix it by replacing " THCI_Debug" by "printf"

After compilation success , Generate your ".bin" file like shown below

pastedImage_14.png

Press & hold  Top-Left button (SW3) then reset the kit to enter into USB flash mode.

pastedImage_19.png

flash the bin into your Rapid Kit by simple drag and drop.

pastedImage_15.png

Text "Hello World" will be displayed on your Rapid IoT Kit

pastedImage_20.png

To set image use this line "GUI_BMP_Draw(_ashok_bmp111, 0, 0);"  BMP image should be in RGB(1,1,1) 4bit format.

pastedImage_22.png

Download source here https://gitlab.com/mcucodes/rapid-iot-k64f-ashok-world

Thanks All,

Happy Coding!

Ashok R

www.ashokr.com

Labels (1)
2 Replies

2,528 Views
wenchen-b37495
NXP Employee
NXP Employee

Could we run this in a debug session in MCUExpresso directly instead of flashing the bin?

0 Kudos
Reply

2,528 Views
javierasolorzan
NXP Employee
NXP Employee

Hi Ashok,

  Thank you for sharing this with the community. If you are not following our community yet, you can do so by clicking on the " follow" button on the upper right hand corner of your dashboard. If you have any problems, please let me know. We would love to have as a part of our community. Thanks again and take care.

Javier