Go to advanced search

by panik
Thu Apr 23, 2015 1:49 pm
Forum: General discussion
Topic: booting only from USB - in future - (USB-on-the-go)
Replies: 45
Views: 9086

Re: booting only from USB - in future - (USB-on-the-go)

Your idea is really nice. Hope that somebody of the stuff team will pick this up. Additionaly the use of the second SD interface (SD1) may drop the need for the SPI multiplexer and then the BIOS EEPROM could be attached to SD1 leaving SD0 free for SD-Cards. However that needs the GPU to be able to ...
by panik
Wed Apr 22, 2015 10:08 pm
Forum: General discussion
Topic: booting only from USB - in future - (USB-on-the-go)
Replies: 45
Views: 9086

Re: booting only from USB - in future - (USB-on-the-go)

But if this is just a theoretical "Hey, let's have fun trying to hack it and make it boot from USB" party, let me not be the party pooper. It would be very useful.

There's that :)
by panik
Wed Apr 22, 2015 9:38 pm
Forum: General discussion
Topic: booting only from USB - in future - (USB-on-the-go)
Replies: 45
Views: 9086

Re: booting only from USB - in future - (USB-on-the-go)

I also have a BBB, and no that's not what I'm thinking of. But the NAND may be enough even to solve OP's problem, without the need to boot from USB. We don't know enough of the requirements. I remember reading that it's possible, but that may or may not also need an SD card. Not really sure. Didn't ...
by panik
Wed Apr 22, 2015 9:16 pm
Forum: General discussion
Topic: booting only from USB - in future - (USB-on-the-go)
Replies: 45
Views: 9086

Re: booting only from USB - in future - (USB-on-the-go)

As with all such things, it'd be nice to know *why* the OP wants this. Anyway, both of the following are true: It's not going to change. It is the way it is. There's no reason for it to change. There is no reason why you can't just leave the SD card plugged in. Think of it as a permanent part of th...
by panik
Fri Apr 17, 2015 11:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB slave <-> serial conector chip
Replies: 6
Views: 1863

Re: USB slave <-> serial conector chip

I say it again : i need a simple bridge between UART & USB : no intelligence : receive from one side, transmit to the other. that's all. An FT232 from http://www.ftdichip.com/ (as in the TTL cables you mention) does exactly this. I'm not sure why you need to handle the USB protocol yourself if that...
by panik
Thu Apr 16, 2015 12:16 pm
Forum: C/C++
Topic: IDE for C++
Replies: 12
Views: 27415

Re: IDE for C++

I use Geany for almost everything. Mostly on my main Linux box with an ssh/sftp connection to the Pi, but on the Pi2 itself it runs great as well. It's a little bit more than a simple text-editor, but not a full blown IDE. It has the multiple tabs, a file browser, a built-in terminal and a couple of...
by panik
Mon Apr 13, 2015 5:29 pm
Forum: C/C++
Topic: crosscompiling and librt.so.1
Replies: 11
Views: 10521

Re: crosscompiling and librt.so.1

Good to know it worked out for you. Thanks for reporting back with the results!
by panik
Sun Apr 12, 2015 7:40 pm
Forum: C/C++
Topic: crosscompiling and librt.so.1
Replies: 11
Views: 10521

Re: crosscompiling and librt.so.1

Are you trying to compile this? https://github.com/robopeak/rplidar_ros That's also a cmake project, so adding LDFLAGS in a Makefile will not work here. In the root CMakeLists.txt (on line 26) it says: target_link_libraries(rplidarNode ${catkin_LIBRARIES}) Does it work if you make that: target_link_...
by panik
Sun Apr 12, 2015 4:11 pm
Forum: C/C++
Topic: crosscompiling and librt.so.1
Replies: 11
Views: 10521

Re: crosscompiling and librt.so.1

In a Makefile, see if you can find an existing "LDFLAGS" entry (or "LDLIBS" maybe) and add '-lrt' to that.

Adding it to "CFLAGS" would only add it to the options for the compiler (gcc), not the linker (ld). In my case, it compiled correctly and only the linker was complaining.
by panik
Fri Apr 10, 2015 6:06 pm
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

Re: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

To make it easier to wrap your head around the concept, flip it upside down and consider it to be an " Arduino with a Raspberry Pi shield ". The AVRPi plays the "Arduino", you provide the Raspberry Pi and cheap protoboard in the size you want. http://www.onandoffables.com/images/rpishield.jpg Even t...
by panik
Fri Apr 10, 2015 11:28 am
Forum: Advanced users
Topic: Best way to connect the PI + Arduino
Replies: 8
Views: 12073

Re: Best way to connect the PI + Arduino

Ah, I see. Thanks for clarification. This is not going to be an issue with boards that use the GPIO pins to upload firmware. You can open and close connections to /dev/ttyAMA0 without the board resetting. The same with the extra virtual serial (over USB) /dev/ttyACM0 that the AVRPi-32U4 offers. Usin...
by panik
Thu Apr 09, 2015 2:56 pm
Forum: Advanced users
Topic: Best way to connect the PI + Arduino
Replies: 8
Views: 12073

Re: Best way to connect the PI + Arduino

1, "Voltage 3.3 Volt (5V tolerant)" What does this actually means? My current ardu uses relay cards, HF shift registers, etc. I designed this system for 5V. I need a drop in replacement here, I do not want to redesign it. Is this means that I can still feed the AVRPI with 5V without problems? The A...
by panik
Thu Apr 09, 2015 12:51 pm
Forum: Advanced users
Topic: Best way to connect the PI + Arduino
Replies: 8
Views: 12073

Re: Best way to connect the PI + Arduino

So what I planning to do is to replace this installation with an RPI (1/2) + Arduino board where I can run the control program directly from the Pi, the question is just how stable will this be on the long term. The AVRPi boards I sell make it easy to have USART, SPI and I2C connections by placing ...
by panik
Mon Apr 06, 2015 12:49 pm
Forum: HATs and other add-ons
Topic: AVRPi-tools: avrdude-6.1/linuxgpio + Arduino IDE/libs
Replies: 1
Views: 12166

AVRPi-tools: avrdude-6.1/linuxgpio + Arduino IDE/libs

As far as I can tell there are 3 options of programming an AVR using avrdude with the Raspberry Pi gpio pins. First there's Gordon Henderson's avrdude version 5.10, which has patches to bitbang the gpio pins. Gordon also patched Arduino 'boards.txt' and 'programmers.txt' files to have the Gertboard,...
by panik
Mon Apr 06, 2015 1:24 am
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

Re: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

Then why would I want an AVR board at all? The Pi already has SPI, I2C, USART, and GPIO. I think we can all agree that any 'realtime' microcontroller makes a great addition to a Pi running a 'less predictable' Linux. ADC, DAC, PWM, USB HID, more GPIO, all that jazz. But I also agree that the Raspbe...
by panik
Sun Apr 05, 2015 10:47 pm
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

Re: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

With 'useless', are you saying that any official Arduino that doesn't have the shield pinout (Esplora, Micro, Lilypad, Fio, Mini) is also useless? The whole reason for the Uno is to host a multitude of hardware add-ons that are driven by the Atmel382. If your board doesn't do that then I'll stick w...
by panik
Sun Apr 05, 2015 10:30 pm
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

Re: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

That was my thought as well -- the Arduino form factor would be the #1 thing someone would be looking for in a case like this. The only reason I added ("arduino") in the topic title is so that people would know what they are, or could be. Even though they strictly aren't Arduinos, but Atmel AVR add...
by panik
Sun Apr 05, 2015 9:28 pm
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

Re: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

Does a regular Arduino Uno hardware shield fit your board? If not then it's mostly useless. It's trivial to design a converter board that makes it possible to plug them in if there's demand. But I don't think there is demand. There is demand on paper of course, but in practice the Arduino shields o...
by panik
Sun Apr 05, 2015 8:47 pm
Forum: HATs and other add-ons
Topic: AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")
Replies: 9
Views: 6792

AVRPi: ATmega32U4 and ATmega328 addon boards ("arduino")

Hi, I'm introducing 2 Atmel AVR microcontroller addon boards for the Raspberry Pi Model A+/B+/Pi2. One of them with an ATmega32U4 (AVRPi-32U4), the other one with an ATmega328p (AVRPi-328). AVRPi-32U4 http://www.onandoffables.com/images/32u4_iso.jpg The AVRPi-32U4 runs on 3.[email protected] and is Arduino Le...
by panik
Fri Mar 20, 2015 3:37 pm
Forum: C/C++
Topic: crosscompiling and librt.so.1
Replies: 11
Views: 10521

Re: crosscompiling and librt.so.1

Wow, that 'bug in upstream ld' must still be there after 3 years. I'm not a cmake wizard and don't know how to do it 'properly', so I would just 'hack it' in there. Searching for 'target_link_libraries(...)', found a couple in 'ZoneMinder/src/CMakeLists.txt' (with zmc on line 20). I'm probably showi...
by panik
Thu Mar 12, 2015 11:31 pm
Forum: HATs and other add-ons
Topic: Device tree and the Gertduino
Replies: 3
Views: 6001

Re: Device tree and the Gertduino

Unfortunately, [email protected] ~/gertduino $ ./reset_on [email protected] ~/gertduino $ ./reset_off echo: write error: Device or resource busy [email protected] ~/gertduino $ ./reset_on echo: write error: Device or resource busy [email protected] ~/gertduino $ An experiment: first check if the pin is already ...
by panik
Wed Mar 11, 2015 9:42 pm
Forum: General discussion
Topic: RCA Video Quality
Replies: 17
Views: 2481

Re: RCA Video Quality

I completely agree, and I have no issue switching out cables as needed. The problem is I'm setting this up for someone else, and they don't want to mess with that. Understood. I can do without the hassle as well. Google found some HDMI port switchers that switch x inputs to 1 output. Now I have an ...
by panik
Wed Mar 04, 2015 10:30 pm
Forum: General discussion
Topic: RCA Video Quality
Replies: 17
Views: 2481

Re: RCA Video Quality

The problem is my TV only has 2 HDMI ports and they're both claimed. I don't know about your exact situation, but the ports on my TV are fairly easy to reach and I find myself switching around quite a lot. There's almost always useful port shortage on these kind of devices (and abundance of useless...
by panik
Tue Mar 03, 2015 10:49 pm
Forum: General discussion
Topic: Damaged solder pads for SD card slot
Replies: 6
Views: 1574

Re: Damaged solder pads for SD card slot

You can solder on to R45 to restore the trace but it's an 0402 component - you need a tiny soldering tip. A bit premature maybe, but if the pad is beyond recovery you could cover 0402 R45 with a blob of solder and replace it with a bigger component. 0805 is probably just big enough to act as part o...
by panik
Mon Mar 02, 2015 12:52 pm
Forum: HATs and other add-ons
Topic: reset_on / off no longer work
Replies: 6
Views: 5542

Re: reset_on / off no longer work

I would say this is an error in the Rasbian image. When I asked (http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=99113), it was suggested that Raspbian is now doing 'the right thing', where it wasn't before the Device Tree. With the Device Tree, when a pin is unexported it returns back to an...

Go to advanced search