|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: CAN can not see PDP
I have two test beds one with CAN going from RoboRIO to PCM to PDP and I can only see the PCM and another test bed with just CAN going from RoboRIO to PDP. This same issue is happening to two different RoboRIOs
|
|
#2
|
||||
|
||||
|
Re: CAN can not see PDP
On the PDP that is connected to the roboRIO directly (no PCM), disconnect CAN and confirm the PDP LEDs change to blink-red-only. Then reconnect the CAN wires to the PDP to confirm it transitions back to blink-green-only (or blink-orange-only due to sticky fault).
Be sure to clear the column filter on the left above the treeview. Make sure jumper on PDP is on the TERM. ON position. Follow the cable from the RIO to the PDP to ensure CANH goes to CANH and CANL to CANL. Sanity check: the PDP was flashed with 1.40 and the RIO was flashed with image19? |
|
#3
|
|||
|
|||
|
Re: CAN can not see PDP
Green goes to green and yellow goes to yellow. While we were talking, the PCM also disappeared. When I disconnected a CAN wire, it did turn red and when I plugged it back in it turned orange. I do not know what firmware the PDP is because I can not access it. The TERM jumper is on ON.
http://i.snag.gy/0elGY.jpg Last edited by rakosi2 : 18-01-2016 at 19:32. |
|
#4
|
||||
|
||||
|
Re: CAN can not see PDP
Seems like there is something fundamental that is wrong. 2 RIOs and PDP and PCM are misbehaving? Maybe there is something going on with the actual wires.
Try this, grab two clean/prestine new wires, cleanly strip them, insert into the RIO and PDP's weidumuller connector. Be sure to press down on the white button before inserting the wire. Tug-test them by pulling on the insulation and make sure the wire doesn't pull out (doesn't require too much effort) Video on inserting wire: https://youtu.be/kCcDw3lDYis Source from: https://wpilib.screenstepslive.com/s...control-system Maybe a photo of the wiring between RIO and PDP will reveal something obvious? |
|
#5
|
|||
|
|||
|
Re: CAN can not see PDP
Here is a picture https://goo.gl/photos/Lj2NTgJo9ihDbbcs8. I used a new CAN wire from the KOP and still did not work. When I restored the image from 2015, CAN worked.
|
|
#6
|
|||
|
|||
|
Re: CAN can not see PDP
md5: FRC_roboRIO_2016_v19.zip 71641743A49F10B8FB61CFDD1A8FDF29
|
|
#7
|
||||
|
||||
|
Re: CAN can not see PDP
When the problem was happened was there code deployed? I'm wondering if reimaging 'fixes' it because a deployed app gets wiped away.
|
|
#8
|
|||
|
|||
|
Re: CAN can not see PDP
The problem happened when I imaged the RoboRIO to the 2016 gamehttps://wpilib.screenstepslive.com/s/4485/m/13503/l/144984-imaging-your-roborio when I went back to 2015 game, the CAN started to work again.
|
|
#9
|
||||
|
||||
|
Re: CAN can not see PDP
Another sanity check:
Is the firmware of the RIO 3.0.0f0 as reported in the web-based config? (not the same as the RIO image). http://wpilib.screenstepslive.com/s/...borio-firmware EDIT: Nevermind, its 3.0.0f0 in the screenshot Last edited by ozrien : 18-01-2016 at 21:25. |
|
#10
|
|||
|
|||
|
Re: CAN can not see PDP
I am still having this issue. The CAN works in the 2015 game but in the 2016 image the CAN disappears. Can someone verify the Hash check that I posted before. I don't know what else it can be if no other team is having this issue.
|
|
#11
|
||||
|
||||
|
Re: CAN can not see PDP
The hash compared okay to mine.
Can you email support@crosstheroadelectronics.com? We'll figure it out, I'm wondering if there is some subtle hardware issue with either RIO or PDP. Seems strange that your seeing multiple things disappear with multiple RIOs. |
|
#12
|
||||
|
||||
|
Re: CAN can not see PDP
So the root-cause appears to be an anomaly with the 2016 web-based plugin that occurs only if there is a small number of devices (one or two) that have large device IDs (in this example both PCM and PDP were 62).
This limitation has the affect of a device not populating in the web-based config device list, even though CAN and robot API are working, which was the rakosi2's observation. This has no impact on the roboRIO's API or your ability to control/monitor from robot-code. For this functional limitation to occur there must be [1] A small number of devices (typically one or two) [2] All devices must have large device IDs (> ~30) I came up with an easy workaround in case anyone gets bit by this. If you have a device that isn't showing up on the web-page despite its LED(s) indicating good-communication, you can force it to appear with the following steps... [1] Disconnect the CAN wires (or power) to that device while RIO is off. [2] power boot the RIO [3] navigate to the web-based config, wait a few seconds so it has a chance to fully render [4] Then connect CAN (or power) to that device [5] Manually refresh the page and the device will appear. [6] At which point reduce the the Device ID (recommendations below). For PDP I recommend using device ID '0' (seems to be be necessary if C++ users want to read PDP signals). For PCMs I recommend starting at '0' and counting up . For Talon SRXs I recommend starting at '0' and counting up. I'll update the docs accordingly, thanks rakosi2 for helping diagnose the problem! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|