And let's just say I didn't use a resistor with my LED...hey it's just one LED right?
Well the blinking didn't occur the way I was expecting... but then again the pin numbering is a bit confusing.
I'll Paste the full pin numbering at the end of this post.
Long story short (no pun intended), I can no longer ping the Edison at the assigned static IP address.
What am I to do? Well I eventually went to the Serial Fall back, which was the first way I was able to ssh into the Edison.
How I did that:
1) With a micro-usb cable connected to the "console" port on the Sparkfun GPIO Block connected to my computer.
2) Went into Device Manager on my PC, then expanded "Ports" and read the COM# of the "USB Serial Port"... you'll know its the correct one for the Edison becasue it wont be present when the Edison isn't plugged in. Screen shot:
3) Fire up the application putty... if you don't already have it you can download it here
4) Select the "Serial" option, type COM# where # is the number you read from Device Manager->Ports
5) Change the Baud rate to 115200 from the default of 9600. Screen shot:
6) When that's all set, click "Open". You should be greeted with a login screen:
----------------------------------------------------------------------------------------------
Ok so I didn't brick it... That's a good thing.Why can't I see it on the network anymore??
It seems the IP address changed from what I had set as static previously, and its in an IP scheme that wont work on my LAN.
But why did the IP address change? According to the "/etc/wpa_supplicant/wpa_cli-actions.sh" file, the reason it's got this new funky IP is:
if [ "$CMD" = "P2P-GROUP-STARTED" ]; then
GIFNAME=$3
if [ "$4" = "GO" ]; then
kill_daemon udhcpc /var/run/udhcpc-$GIFNAME.pid
ifconfig $GIFNAME 192.168.42.1 up
cp /etc/wpa_supplicant/udhcpd-p2p.conf /etc/wpa_supplicant/udhcpd-p2p-i$
sed -i "s/INTERFACE/$GIFNAME/" /etc/wpa_supplicant/udhcpd-p2p-itf.conf
udhcpd /etc/wpa_supplicant/udhcpd-p2p-itf.conf
fi
... So unless I fried it and made it do something strange... It seems I've switched the WiFi mode to P2P??
I need to do more investigating ... I'll update when I get that LED Blinking :D
Also the pic reference I mentioned earlier in this post:
Edison Pin (Linux) | Arduino Breakout | Mini Breakout | MRAA Number | Pinmode0 | Pinmode1 | Pinmode2 |
---|---|---|---|---|---|---|
GP12 | 3 | J18-7 | 20 | GPIO-12 | PWM0 | |
GP13 | 5 | J18-1 | 14 | GPIO-13 | PWM1 | |
GP14 | A4 | J19-9 | 36 | GPIO-14 | ||
GP15 | J20-7 | 48 | GPIO-15 | |||
GP19 | J18-6 | 19 | GPIO-19 | I2C-1-SCL | ||
GP20 | J17-8 | 7 | GPIO-20 | I2C-1-SDA | ||
GP27 | J17-7 | 6 | GPIO-27 | I2C-6-SCL | ||
GP28 | J17-9 | 8 | GPIO-28 | I2C-6-SDA | ||
GP40 | 13 | J19-10 | 37 | GPIO-40 | SSP2_CLK | |
GP41 | 10 | J20-10 | 51 | GPIO-41 | SSP2_FS | |
GP42 | 12 | J20-9 | 50 | GPIO-42 | SSP2_RXD | |
GP43 | 11 | J19-11 | 38 | GPIO-43 | SSP2_TXD | |
GP44 | A0 | J19-4 | 31 | GPIO-44 | ||
GP45 | A1 | J20-4 | 45 | GPIO-45 | ||
GP46 | A2 | J19-5 | 32 | GPIO-46 | ||
GP47 | A3 | J20-5 | 46 | GPIO-47 | ||
GP48 | 7 | J19-6 | 33 | GPIO-48 | ||
GP49 | 8 | J20-6 | 47 | GPIO-49 | ||
GP77 | J19-12 | 39 | GPIO-77 | SD | ||
GP78 | J20-11 | 52 | GPIO-78 | SD | ||
GP79 | J20-12 | 53 | GPIO-79 | SD | ||
GP80 | J20-13 | 54 | GPIO-80 | SD | ||
GP81 | J20-14 | 55 | GPIO-81 | SD | ||
GP82 | J19-13 | 40 | GPIO-82 | SD | ||
GP83 | J19-14 | 41 | GPIO-83 | SD | ||
GP84 | J20-8 | 49 | GPIO-84 | SD | ||
GP109 | J17-11 | 10 | GPIO-109 | SPI-5-SCK | ||
GP110 | J18-10 | 23 | GPIO-110 | SPI-5-CS0 | ||
GP111 | J17-10 | 9 | GPIO-111 | SPI-5-CS1 | ||
GP114 | J18-11 | 24 | GPIO-114 | SPI-5-MISO | ||
GP115 | J17-12 | 11 | GPIO-115 | SPI-5-MOSI | ||
GP128 | 2 | J17-14 | 13 | GPIO-128 | UART-1-CTS | |
GP129 | 4 | J18-12 | 25 | GPIO-129 | UART-1-RTS | |
GP130 | 0 | J18-13 | 26 | GPIO-130 | UART-1-RX | |
GP131 | 1 | J19-8 | 35 | GPIO-131 | UART-1-TX | |
GP134 | J20-3 | 44 | ||||
GP135 | J17-5 | 4 | GPIO-135 | UART | ||
GP165 | A5 | J18-2 | 15 | GPIO-165 | ||
GP182 | 6 | J17-1 | 0 | GPIO-182 | PWM2 | |
GP183 | 9 | J18-8 | 21 | GPIO-183 | PWM3 |
No comments:
Post a Comment