Flip & Click Virtualization problem


#1

Flip & Click connected to Windows computer, recognized by Zerynth Studio r2.0.5, registration OK, virtual machine created and get stack in this step. No virtualization. Pressing “Z” next time creates another virtual machine… Any suggestions?


#2

This is dump of the status window:

[info] [============================= ] 97% (260/268 pages)
[info] [==============================] 100% (268/268 pages)
[info] Set boot flash true
[info] CPU reset.
[info] Found chipid: 02130215d42325031333031303031343
[info] Device Flip & Click SAM3X registered with uid: 0pragZGQRv-eFM4X38r3Jw
Registration successful! Now you can virtualize your flipnclick_sam3x
Creating VM for flipnclick_sam3x…
[info] Creating vm for device zs:flipnclick_sam3x:8d1a2bc83aaaa0b4e1de7e15ac9a2dcc7ea6cc43
[info] VM  created with uid: HRBhc462RFmnakHrAQWHPg
[info] Downloaded Virtual Machine in C:\Users\goltman\zerynth2\vms\arduino_due\02130215d42325031333031303031343 with uid HRBhc462RFmnakHrAQWHPg
VM created! You can now virtualize your flipnclick_sam3x
Creating VM for flipnclick_sam3x…
[info] Creating vm for device zs:flipnclick_sam3x:8d1a2bc83aaaa0b4e1de7e15ac9a2dcc7ea6cc43
[info] VM  created with uid: HRBhc462RFmnakHrAQWHPg
[info] Downloaded Virtual Machine in C:\Users\goltman\zerynth2\vms\arduino_due\02130215d42325031333031303031343 with uid HRBhc462RFmnakHrAQWHPg
VM created! You can now virtualize your flipnclick_sam3x


#3

By the way, after I upgraded to r2.0.5, can no longer control my Particle Photon, which was OK before


#4

Fixed Particle Photon problem - there is a new virtual machine.


#5

I see some discrepancy:

[info] Device Flip & Click SAM3X registered with uid: 0pragZGQRv-eFM4X38r3Jw
Registration successful! Now you can virtualize your flipnclick_sam3x
Creating VM for flipnclick_sam3x…
[info] Creating vm for device zs:flipnclick_sam3x:8d1a2bc83aaaa0b4e1de7e15ac9a2dcc7ea6cc43
[info] VM  created with uid: HRBhc462RFmnakHrAQWHPg
[info] Downloaded Virtual Machine in C:\Users\goltman\zerynth2\vms\arduino_due\02130215d42325031333031303031343 with uid HRBhc462RFmnakHrAQWHPg
VM created! You can now virtualize your flipnclick_sam3x

Virtual Machine is for arduino_due, not flipnclick - is it a problem?


#6

Hi igninja.

Every virtual machine works only for the requested and related device, so if you load a virtual machine for arduino due in a flip n click, it never works.

To solve this issue you can click on the “info” button (with the flip n click plugged into your pc) and then click the orange “forget” button.

After few seconds, the system delete the current device and ask you again to disambiguate the device choosing which board is plugged in (this situation happened every time more than one board has the same microcontroller - like the arduino due and the flip n click - and it is impossible to auto-recognize them).

When you select the flip n click device, you have to register and virtualize again the flip n click and then you can uplink you zerynth script.

Hope this can help you! :slight_smile:


#7

Sorry, but it didn’t help. Here is dump of the status window:


Forgetting zs:flipnclick_sam3x:8d1a2bc83aaaa0b4e1de7e15ac9a2dcc7ea6cc43
[info] Starting device registration
[info] Burning bootloader…
[info] Erase flash
[info] Write 68448 bytes to flash
[info] 
[info] [                              ] 0% (0/268 pages)
[info] [=                             ] 3% (10/268 pages)
[info] [==                            ] 7% (20/268 pages)
[info] [===                           ] 11% (30/268 pages)
[info] [====                          ] 14% (40/268 pages)
[info] [=====                         ] 18% (50/268 pages)
[info] [======                        ] 22% (60/268 pages)
[info] [=======                       ] 26% (70/268 pages)
[info] [========                      ] 29% (80/268 pages)
[info] [==========                    ] 33% (90/268 pages)
[info] [===========                   ] 37% (100/268 pages)
[info] [============                  ] 41% (110/268 pages)
[info] [=============                 ] 44% (120/268 pages)
[info] [==============                ] 48% (130/268 pages)
[info] [===============               ] 52% (140/268 pages)
[info] [================              ] 55% (150/268 pages)
[info] [=================             ] 59% (160/268 pages)
[info] [===================           ] 63% (170/268 pages)
[info] [====================          ] 67% (180/268 pages)
[info] [=====================         ] 70% (190/268 pages)
[info] [======================        ] 74% (200/268 pages)
[info] [=======================       ] 78% (210/268 pages)
[info] [========================      ] 82% (220/268 pages)
[info] [=========================     ] 85% (230/268 pages)
[info] [==========================    ] 89% (240/268 pages)
[info] [===========================   ] 93% (250/268 pages)
[info] [============================= ] 97% (260/268 pages)
[info] [==============================] 100% (268/268 pages)
[info] Set boot flash true
[info] CPU reset.
[info] Found chipid: 02130215d42325031333031303031343
[info] Device Flip & Click SAM3X registered with uid: 0pragZGQRv-eFM4X38r3Jw
Registration successful! Now you can virtualize your flipnclick_sam3x
Creating VM for flipnclick_sam3x…
[info] Creating vm for device zs:flipnclick_sam3x:8d1a2bc83aaaa0b4e1de7e15ac9a2dcc7ea6cc43
[info] VM  created with uid: HRBhc462RFmnakHrAQWHPg
[info] Downloaded Virtual Machine in C:\Users\goltman\zerynth2\vms\arduino_due\02130215d42325031333031303031343 with uid HRBhc462RFmnakHrAQWHPg
VM created! You can now virtualize your flipnclick_sam3x


#8

Dear Matteo,
Zerynth will present IOT solution using Flip & Click and LoRa from Microchip (RN2483) at Nuremberg Embedded World . Is it possible to get the set up and Python code for this demo?


#9

Hi igninja,

To solve the issue about the Flip & Click virtualization, try again the procedure of the previous post (forget, register, virtualize) - this tine sholud work.

Regarding the Flip & Click and LoRa Demo, here you can find a preview of the code; many other details will be published after Embedded World 2017.

Stay Tuned! :smiley:   


#10

Hi Matteo,
Unfortunately, it did not work. System upgraded to 2.06, went trough the whole process forgetting, disambiguation, register, create virtual machine and no farther progress. No virtualization! By the way, when “forgetting”, I observe message in a bottom right corner which said “downloading new virtual machines” with rotating circle. It never stops! and if I look at my profile there are only two virtual machines - Particle Photon, which works fine and Arduino Due, but no Flip & Click. Please help! 


#11

Hi igninja,

Sorry if I answer only now but we’re working hard to continuously improve the system and solving any issue.
You can try again the procedure and, if also this time doesn’t work, please post me the entire message log like you did it in previous post.

Thanks for now and let me know :slight_smile:


#12

Dear Matteo! Thank you very much! Today it worked. I virtualized the Flip & Click