Help flashing Zephyr to a Reel bord #flash #reel_board


Marco Cavallini
 

Hello,
I started experimenting Zephyr and I followed the Getting Started guide
https://docs.zephyrproject.org/latest/getting_started/index.html

In such page you are mentioning the Phytec reel_board as the official reference board, so I bought it.
Unfortunately I am unable to find any document explaining in detail how to connect and program it.
The board is totally unusable and Phytec support is not very useful.

When I connect the board to my Linux PC using the USB cable it isn't detected from lsusb nor dmesg
I am not able to understand how to flash Zephyr on it.

Does anybody can give me advice how to use this reference board with Zephyr?

Thanks
--
Marco


Henrik Brix Andersen
 

On 3 Oct 2020, at 17.41, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:
When I connect the board to my Linux PC using the USB cable it isn't detected from lsusb nor dmesg
I am not able to understand how to flash Zephyr on it.
Have you followed the instructions in https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html#programming-and-debugging?


Does anybody can give me advice how to use this reference board with Zephyr?
Are you using the correct USB connector on the reel_board? You need to plug-in a cable between your host computer and the reel board “Debug USB” connector.

Best regards,
Brix
--
Henrik Brix Andersen


Marco Cavallini
 

On 04/10/20 12:58, Henrik Brix Andersen wrote:

On 3 Oct 2020, at 17.41, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:
When I connect the board to my Linux PC using the USB cable it isn't detected from lsusb nor dmesg
I am not able to understand how to flash Zephyr on it.
Have you followed the instructions in https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html#programming-and-debugging?

Does anybody can give me advice how to use this reference board with Zephyr?
Are you using the correct USB connector on the reel_board? You need to plug-in a cable between your host computer and the reel board “Debug USB” connector.
Best regards,
Brix
--
Henrik Brix Andersen

Hi Brix,
thank you for answering.

I have already done the udev settings and the board is not detected when I plug the reel board “Debug USB” connector to my PC
I fear my board is defective.
I wonder what happens when a Reel board is plugged in.

Does anybody have one ?

Thanks
--
Marco


Henrik Brix Andersen
 

Hi,

On 4 Oct 2020, at 18.44, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:

I have already done the udev settings and the board is not detected when I plug the reel board “Debug USB” connector to my PC
I fear my board is defective.
I wonder what happens when a Reel board is plugged in.
Did you remember to turn the board on using the power switch? Are any of the LEDs on the board lit?

Does anybody have one ?
Yes. I have a couple of those boards. I have no issue with flashing them.

Regards,
Brix
--
Henrik Brix Andersen


Bolivar, Marti
 

"Henrik Brix Andersen via lists.zephyrproject.org"
<henrik=brixandersen.dk@lists.zephyrproject.org> writes:

Hi,

On 4 Oct 2020, at 18.44, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:

I have already done the udev settings and the board is not detected when I plug the reel board “Debug USB” connector to my PC
I fear my board is defective.
I wonder what happens when a Reel board is plugged in.
Did you remember to turn the board on using the power switch? Are any of the LEDs on the board lit?

Does anybody have one ?
Yes. I have a couple of those boards. I have no issue with flashing
them.
I have one and it's working for me also. Try plugging it in while
'udevadm monitor' is running. You should see a bunch of lines related to
device creation.

Martí


Regards,
Brix
--
Henrik Brix Andersen




Marco Cavallini
 

On 05/10/20 20:44, Bolivar, Marti wrote:
"Henrik Brix Andersen via lists.zephyrproject.org"
<henrik=brixandersen.dk@lists.zephyrproject.org> writes:

Hi,

On 4 Oct 2020, at 18.44, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:

I have already done the udev settings and the board is not detected when I plug the reel board “Debug USB” connector to my PC
I fear my board is defective.
I wonder what happens when a Reel board is plugged in.
Did you remember to turn the board on using the power switch? Are any of the LEDs on the board lit?

Does anybody have one ?
Yes. I have a couple of those boards. I have no issue with flashing
them.
I have one and it's working for me also. Try plugging it in while
'udevadm monitor' is running. You should see a bunch of lines related to
device creation.
Martí

Hi Marti,
in fact I tested that as well.

I am running an Ubuntu 18.04 O.S.
I tried connecting to my PC the Reel Board on Debug-USB port and then to nRF-USB port. Both are no working. Which one is expected to be used?


I added the udev rule (it's also explained here [1])

$ cat /etc/udev/rules.d/90-daplink.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0d28", ATTRS{idProduct}=="0204", MODE="664", GROUP="plugdev"

$ sudo udevadm control --reload-rules


Unfortunately 'lsusb' and 'dmesg' don't show any activity.
I tried also the udevadm monitor command, no events are detected.

$ udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent
...nothing here...


Could you please send me the output on your side?
Perhaps my board is defective?


[1] https://docs.zephyrproject.org/latest/boards/arm/reel_board/doc/index.html#programming-and-debugging


Thanks
--
Marco


Marco Cavallini
 

On 05/10/20 20:15, Henrik Brix Andersen wrote:
Hi,

On 4 Oct 2020, at 18.44, Marco Cavallini [KOAN] <m.cavallini@koansoftware.com> wrote:

I have already done the udev settings and the board is not detected when I plug the reel board “Debug USB” connector to my PC
I fear my board is defective.
I wonder what happens when a Reel board is plugged in.
Did you remember to turn the board on using the power switch? Are any of the LEDs on the board lit?

Does anybody have one ?
Yes. I have a couple of those boards. I have no issue with flashing them.
Regards,
Brix
--
Henrik Brix Andersen


Hi Brix,
yes of course.
I tried connecting to my PC the Reel Board on Debug-USB port (and then to nRF-USB port).

I see the red LED close to U13 and green LED close to Q3

--
Marco


Boie, Andrew P
 

On 05/10/20 20:15, Henrik Brix Andersen wrote:
Hi,

On 4 Oct 2020, at 18.44, Marco Cavallini [KOAN]
<m.cavallini@koansoftware.com> wrote:

I have already done the udev settings and the board is not detected
when I plug the reel board “Debug USB” connector to my PC I fear my
board is defective.
I wonder what happens when a Reel board is plugged in.
Did you remember to turn the board on using the power switch? Are any of
the LEDs on the board lit?

Does anybody have one ?
Yes. I have a couple of those boards. I have no issue with flashing them.

Regards,
Brix
--
Henrik Brix Andersen
What CPU is on your Reel Board?
I had an issue with this, someone gave me a Reel Board at a LF event in Lyon, but when I tried to flash it, turned out to have a different SoC not supported by Zephyr.

Andrew


Marco Cavallini
 

On 07/10/20 03:08, Boie, Andrew P wrote:
What CPU is on your Reel Board?
I had an issue with this, someone gave me a Reel Board at a LF event in Lyon, but when I tried to flash it, turned out to have a different SoC not supported by Zephyr.
Andrew
Hi Andrew,
You are right!
My board doesn't have mounted the Nordic nRF52840.
Let me request a response from the manufacturer.

Thank you
--
Marco


Andrei
 

Hi,

On Wed, Oct 07, 2020 at 08:52:00AM +0200, Marco Cavallini wrote:
On 07/10/20 03:08, Boie, Andrew P wrote:

What CPU is on your Reel Board?
I had an issue with this, someone gave me a Reel Board at a LF event in Lyon, but when I tried to flash it, turned out to have a different SoC not supported by Zephyr.

Andrew
Hi Andrew,
You are right!
My board doesn't have mounted the Nordic nRF52840.
Let me request a response from the manufacturer.
There is also reel_board_v2, have you tried it?

Best regards
Andrei Emeltchenko


Marco Cavallini
 

On 07/10/20 08:52, Marco Cavallini wrote:
On 07/10/20 03:08, Boie, Andrew P wrote:

What CPU is on your Reel Board?
I had an issue with this, someone gave me a Reel Board at a LF event in Lyon, but when I tried to flash it, turned out to have a different SoC not supported by Zephyr.

Andrew
Hi Andrew,
You are right!
My board doesn't have mounted the Nordic nRF52840.
Let me request a response from the manufacturer.
Thank you
--
Marco

Hello,
I have the reel_board_v3 that has a separate CPU module.
Phytec forgot to ship it, so there is a part missing within the reelboard package - NOTM.2 Adapter for nRF52840.
It is on the way ;-)

Thank you Andrew for pointing it out.

--
Marco