Issue with PanelDue
-
Not 100% sure how I got into this scenario but I think I accidentally hit the erase button when picking up the display.
With 12v connected to vin, the DuetWifi powers up fine. On the 7" lcd I get a blank screen - no indication if there is power supplied to the LCD but the DuetWifi board is responding fine.
I have tried to flash the display driver and get an error when pushing the flash:
[[language]] bilsch@MacBook-Pro:~ $ ~/bin/bossac -i Device found on cu.usbmodem1421 Device : ATSAM3S2 Chip ID : 289a0760 Version : v1.4 Jul 21 2009 11:30:50 Address : 4194304 Pages : 512 Page Size : 256 bytes Total Size : 128KB Planes : 1 Lock Regions : 8 Locked : none Security : false Boot Flash : true
[[language]] bilsch@MacBook-Pro:~ $ ~/bin/bossac -e -w -c -b ~/gits/PanelDue/Release/PanelDue-7.0-1.15c.bin Device found on cu.usbmodem1421 Erase flash Write 123728 bytes to flash [==============================] 100% (484/484 pages) Set boot flash true Set brownout detect true bilsch@MacBook-Pro:~ $ ~/bin/bossac -e -v -w -c -b ~/gits/PanelDue/Release/PanelDue-7.0-1.15c.bin Device found on cu.usbmodem1421 Erase flash Write 123728 bytes to flash [==============================] 100% (484/484 pages) Verify 123728 bytes of flash [==============================] 100% (484/484 pages) Verify failed Page errors: 483 Byte errors: 94606
When I had the panel connected to the DuetWifi before things went strange all I saw in the status on the top-right was Connecting. I have a 4 conductor wire ( http://openbuildspartstore.com/wire-cable-by-the-foot/ ) between the boards. All of the connectors are good. I get the same behavior with usb plugged into the panel board from my macbook.
Any ideas?
-
Try again with a different usb port or cable. I have one pc that gets verify errors on usb3, but works fine on usb2.
-
I suspect either a USB issue (see above) or a power issue. Many USB ports can't provide enough power for the 7" panel. Try disconnecting the control board from the display, then try to program it.
-
So it was a usb cable issue. I was using the usb cable provided when I bought the boards - switched to another one and all is well. Flash was fine, display is running again so yay!
I do have a thought on a minor board layout change. I accidentally hit the erase button while trying to remove the usb cable. Would it make sense for that button be moved in a future rev? Maybe a tiny button closer to D3 or something? ( eg something to make it less likely to accidentally trigger / bump ). Just a thought!