Wednesday, October 22, 2014

Beaglebone does not turn on. "A very sad evening :("

I have been working quite happily with the old bealglebone (white version, rev A6), I managed to crosscompile some educational c++ codes at the bone with debian. The beaglebone has been connected to a machine with debian wheezy. Sadly, an hour ago I begin to use the gpio to control some simple LEDS and switches, however, while using the input options I did not read well, hence I blow up the processor of my white bone. This another sign that I have to read so carefully. To be honest, I felt so confident and now I have learn again that I have to read quite carefully all the instructions in order to proceed in my experiments. Anyway, it does not affect me at all (well this is not true at least in the economical side) since I want to try with a Raspberry Pi. I hope I can have some little money to get one next year.

LESSON LEARNED




As Gerald said at [1] "the maximum voltage is 3.3V on the processor. From what you told me you powered the MAX232 with 5V. That means the signal to the processor is 5V. You blew up the processor. Next time I suggest you run the MAX232 at 3.3V.


[1] https://groups.google.com/forum/#!topic/beagleboard/l-bap8sB4rw


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
LET ME ADD MY ADVENTURES WITH THE CROSSCOMPILATION UNDER DEBIAN WHEEZY

 Cross-compiling with debian Wheezy 7.6


deb http://http.us.debian.org/debian/ wheezy main

apt-get update
apt-get install build-essential


nano /etc/apt/sources.list
deb http://www.emdebian.org/debian/ unstable main

apt-get install emdebian-archive-keyring  ##IF NOT, THEN TRY: deb http://ftp.us.debian.org/debian/ squeeze main
apt-get update
apt-get install gcc-4.7-arm-linux-gnueabihf g++-4.7-arm-linux-gnueabihf




################################################

nano /etc/apt/sources.list
add this line to /etc/apt/sources.list :

deb http://ftp.us.debian.org/debian/ squeeze main


apt-get update
apt-get install emdebian-archive-keyring

deb http://www.emdebian.org/debian/ squeeze main
apt-get update


# apt-get install g++-4.4-arm-linux-gnueabi gcc-4.4-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  binutils binutils-arm-linux-gnueabi cpp-4.4-arm-linux-gnueabi gcc-4.4-arm-linux-gnueabi-base gcc-4.4-base-armel-cross
  libc-bin-armel-cross libc-dev-bin-armel-cross libc6-armel-cross libc6-dev-armel-cross libgcc1-armel-cross libgmp3c2 libgomp1-armel-cross
  libstdc++6-4.4-dev-armel-cross libstdc++6-armel-cross linux-libc-dev-armel-cross
Suggested packages:
  binutils-doc gcc-4.4-locales gcc-4.4-doc libstdc++6-4.4-dbg-armel-cross libmudflap0-4.4-dev-armel-cross libgcc1-dbg-armel-cross
  libgomp1-dbg-armel-cross libmudflap0-dbg-armel-cross libcloog-ppl0 libppl-c2 libppl7
The following NEW packages will be installed:
  binutils binutils-arm-linux-gnueabi cpp-4.4-arm-linux-gnueabi g++-4.4-arm-linux-gnueabi gcc-4.4-arm-linux-gnueabi
  gcc-4.4-arm-linux-gnueabi-base gcc-4.4-base-armel-cross libc-bin-armel-cross libc-dev-bin-armel-cross libc6-armel-cross
  libc6-dev-armel-cross libgcc1-armel-cross libgmp3c2 libgomp1-armel-cross libstdc++6-4.4-dev-armel-cross libstdc++6-armel-cross
  linux-libc-dev-armel-cross
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 24.1 MB of archives.
After this operation, 57.2 MB of additional disk space will be used.
Do you want to continue [Y/n]?



nano /etc/apt/sources.list

comment the following lines:
deb http://ftp.us.debian.org/debian/ squeeze main
deb http://www.emdebian.org/debian/ squeeze main

and add
deb http://http.us.debian.org/debian/ wheezy main

apt-get update
apt-get install eclipse eclipse-cdt

No comments:

Post a Comment