Re: [Zephyr-devil] Tiny tile Zephyr implementation


Jie Zhou <zhoujie@...>
 

Hi Anas,

You are right, the only successful flashing with tinytile was using the make BOARD=tinytile command. That was through ttyACM0 with the flyswatter2. For some reason, it was difficult for me to open ACM0 consistently even though dmesg | grep tty shows that ttyACM0 is open. Also, with the flyswatter both ttyUSB0 and ttyUSB1 is open along with ttyACM0. As Graham suggested cleaning up the CONFIG setting would fix the tinytile build. With the ftdi cable for make BOARD=tinytile, the same issue persists.

What works:
With make BOARD=arduino_101 command I am using the ftdi cable. It works perfectly fine, so  I'm basically treating tinytile as the arduino. I am opening minicom through ttyUSB0.

Thanks,
Jie

On Fri, Oct 13, 2017 at 9:36 AM, Nashif, Anas <anas.nashif@...> wrote:

Which serial device do you connect minicom to? How is the device connected to your host? TinyTILe board is configured to use USB CDC, so the console output is on ttyACM, if you flash the Arduino board image, the console will use the UART device.

 

Anas

 

From: zephyr-devel-bounces@lists.zephyrproject.org [mailto:zephyr-devel-bounces@lists.zephyrproject.org] On Behalf Of Jie Zhou
Sent: Friday, October 13, 2017 2:58 PM
To: Graham Stott <gbcstott1@...>; Li, Jun R <jun.r.li@...>; zephyr-devel@lists.zephyrproject.org


Subject: Re: [Zephyr-devel] [Zephyr-devil] Tiny tile Zephyr implementation

 

 

On Fri, Oct 13, 2017 at 6:47 AM Li, Jun R <jun.r.li@...> wrote:

 Yeah sorry I meant "make BOARD=tinytile". Although it works and applications can flash with this command. When I open minicom to view the outputs. Minicom freezes. This does not happen with make BOARD=arduino_101

Please try “make BOARD=tinytile”. The board name should be exactly same as “boards/x86/tinytile”.

 

From: <zephyr-devel-bounces@lists.zephyrproject.org> on behalf of Jie Zhou <zhoujie@...>
Date: Friday, October 13, 2017 at 01:16
To: Graham Stott <gbcstott1@...>, "zephyr-devel@lists.zephyrproject.org" <zephyr-devel@lists.zephyrproject.org>
Subject: Re: [Zephyr-devel] [Zephyr-devil] Tiny tile Zephyr implementation

 

Hey Graham,

 

Thanks for the help! It worked. To flash on tinyTILE, do make BOARD=arduino_101 flash. Since they are using the same Intel curie chip, it will work. Interesting that BOARD=tinyTILE doesn't work, maybe someone should look into that.

 

Sincerely,

Jie

 

On Wed, Oct 11, 2017 at 7:16 PM, Jie Zhou <zhoujie@...> wrote:

Hi Graham,

 

Hmm interesting, which CONFIG settings? Also I want to use tinyTILE for a bluetooth application that I am working on. I need tinyTILE for its wearable size. For flashing on to tinyTILE, all of the bluetooth sample examples provided by zephyr does the same thing; application flashes fine, but when I open minicom to view the outputs, minicom freezes. This holds true for even Hello World the last time I ran that. If you ever get around testing with the curieNano let me know.

 

Thanks,

Jie

 

On Wed, Oct 11, 2017 at 7:07 PM, Graham Stott <gbcstott1@...> wrote:

Jie,

 

My board is in use at this time so I cannot do this test for you. However I did look at  the Bluetooth beacon sample and I see that it is setting some Bluetooth related CONFIG  settings that are not tested in the BOARD=tileTile make. They are tested  in the arduino_101 make. I suggest you do a make of the Bluetooth beacon sample using BOARD=Arduino_101 and see if that helps.

 

Graham

 

From: Jie Zhou [mailto:zhoujie@...]
Sent: Wednesday, October 11, 2017 6:09 PM


To: Graham Stott <gbcstott1@...>
Cc: zephyr-devel@lists.zephyrproject.org
Subject: Re: [Zephyr-devil] Tiny tile Zephyr implementation

 

Hi Graham,

 

Could you flash the beacon example in zephyr? The path is samples/bluetooth/beacon. You might have to flash the hci_uart example, which is also in the bluetooth sample directory, to update the firmware. If you can do that and open minicom and see the outputs then we might be in luck and will switch over to the curienano.

 

Thank you very much,

Jie 

 

On Wed, Oct 11, 2017 at 2:36 PM, Graham Stott <gbcstott1@...> wrote:

Jie,

 

I do not have the TinyTile board so I cannot try flashing it. However I do have the DFRobot CurieNano which is a similar board. I have no problem flashing this board. I used the instructions (DFU) for Arduino 101.

 

Graham

 

From: Jie Zhou [mailto:zhoujie@...]
Sent: Wednesday, October 11, 2017 3:11 PM
To: Graham Stott <gbcstott1@...>
Cc: zephyr-devel@lists.zephyrproject.org
Subject: Re: [Zephyr-devil] Tiny tile Zephyr implementation

 

Hi Graham,

Thanks for responding! About the similarities of TinyTILE and Arduino101, although the chip is the same, we have been trying to flash applications to tinyTILE for a while now. The arduino can be flash with DFU using the FTDI cable, but tinyTILE doesn't respond to minicom after flashing. We have some inconsistent success with flashing tinyTILE via Flyswatter and settling the port to ttyACM0. Either there is some issues with tinyTILE support from zephyr or the protocol of the chip is different than Arduino.

 

Thanks,

Jie

 

On Tue, Oct 10, 2017 at 12:29 PM, Graham Stott <gbcstott1@...> wrote:

I meant to also say to look at projects for Arduino/Genuine 101 as tiny Tile is a scaled down version of this board.

 

From: zephyr-devel-bounces@lists.zephyrproject.org [mailto:zephyr-devel-bounces@lists.zephyrproject.org] On Behalf Of Graham Stott
Sent: Tuesday, October 10, 2017 2:01 PM
To: 'Jie Zhou' <zhoujie@...>; zephyr-devel@lists.zephyrproject.org
Subject: Re: [Zephyr-devel] Tinytile Zephyr implementation

 

As tinyTile is basically just a version of the Intel® Curie™ module, you can look for projects under Curie. Yes. It has additional pins but the rest is the same

 

Graham

 

From: zephyr-devel-bounces@lists.zephyrproject.org [mailto:zephyr-devel-bounces@lists.zephyrproject.org] On Behalf Of Jie Zhou
Sent: Tuesday, October 10, 2017 1:21 AM
To: zephyr-devel@lists.zephyrproject.org
Subject: [Zephyr-devel] Tinytile Zephyr implementation

 

Hi All,

 

Has anyone done anything with tinyTILE? Since the board is quite new I was wondering if someone has done a project with Zephyr OS on tinyTILE. The specs of the chip looks promising for IoT implementations. Any info or the setup you are using will help. I'm trying to evaluate the capability of tinyTILE with Zephyr.

 

Thanks,

Jie

 

 

 

 


Join devel@lists.zephyrproject.org to automatically receive all group messages.