Go to advanced search

by Arjan
Mon Jul 31, 2017 4:56 pm
Forum: Bare metal, Assembly language
Topic: RPI3 IMPOSSIBLE ACTIVATE OK LED
Replies: 6
Views: 2377

Re: RPI3 IMPOSSIBLE ACTIVATE OK LED

It's now done via the mailbox and given your temperature routine very easy to add to that. The hardware_led_set((int) state) is set here -> https://github.com/vanvught/rpidmx512/blob/master/lib-hal/src/hardware.c#L99 struct _hardware_led { void (*init)(void); ///< Pointer to function for LED ACCT i...
by Arjan
Mon Jul 31, 2017 4:49 pm
Forum: Bare metal, Assembly language
Topic: Reading and writing files to SD card or USB drive.
Replies: 6
Views: 2922

Re: Reading and writing files to SD card or USB drive.

The SD code is based on John Cronin's work and there is a couple of serious bugs we have discussed a number of times. The clock setting is all wrong, it trashes the pre-tune register on high speed cards and if anything calls the 1.8V dropdown it will crash because the Pi only supports 3.3v. John's ...
by Arjan
Sun Jul 30, 2017 8:29 pm
Forum: Bare metal, Assembly language
Topic: GPU Mailbox protocol
Replies: 4
Views: 1560

Re: GPU Mailbox protocol

Herewith my code for getting the SoC temperature -> https://github.com/vanvught/rpidmx512/b ... _vc.c#L239
by Arjan
Sun Jul 30, 2017 8:25 pm
Forum: Bare metal, Assembly language
Topic: RPI3 IMPOSSIBLE ACTIVATE OK LED
Replies: 6
Views: 2377

Re: RPI3 IMPOSSIBLE ACTIVATE OK LED

This https://github.com/vanvught/rpidmx512/tree/master/test-kernels generates a kernel.img and a kernel7.img with a blinker example. static void led_handler(const uint32_t clo) { const unsigned state = led_state++ & (unsigned) 0x01; console_set_cursor(1, 26); (void) console_putc((int) '0' + state); ...
by Arjan
Sun Jul 30, 2017 8:08 pm
Forum: Bare metal, Assembly language
Topic: Autodetect IO Base Address code
Replies: 3
Views: 1344

Re: Autodetect IO Base Address code

At runtime you can also check the board type and set the hardware configuration -> https://github.com/vanvught/rpidmx512/b ... re_board.c
by Arjan
Sun Jul 30, 2017 7:53 pm
Forum: Bare metal, Assembly language
Topic: Memory allocation in arm on the Pi
Replies: 4
Views: 1510

Re: Memory allocation in arm on the Pi

For baremetal and _sbrk (malloc), please check -> https://balau82.wordpress.com/2010/12/1 ... -programs/
by Arjan
Sun Jul 30, 2017 7:47 pm
Forum: Bare metal, Assembly language
Topic: Bare metal: overlay PL011 UART
Replies: 1
Views: 787

Re: Bare metal: overlay PL011 UART

In baremetal it is just setting the correct ALT function. For example -> https://github.com/vanvught/rpidmx512/b ... l011.c#L39
by Arjan
Sun Jul 30, 2017 7:43 pm
Forum: Bare metal, Assembly language
Topic: How to findo information about the current address space?
Replies: 1
Views: 644

Re: How to findo information about the current address space?

Hi Makogan,

You can get the details from the linker.
See my malloc -> https://github.com/vanvught/rpidmx512/b ... c/malloc.c

Also you can use the mailbox to get the memory size -> https://github.com/vanvught/rpidmx512/b ... _vc.c#L461
by Arjan
Sun Jul 30, 2017 7:34 pm
Forum: Bare metal, Assembly language
Topic: USB device mode
Replies: 0
Views: 404

USB device mode

Are there references to USB device mode source code?
Anyone a working gadget example ?
by Arjan
Wed Apr 05, 2017 7:08 pm
Forum: Troubleshooting
Topic: UART Dmx board with ola
Replies: 5
Views: 2185

Re: UART Dmx board with ola

dgordon42 wrote: You MUST ensure that the BitWizard dmx512 boards Serial Port connection works at 3.3V before connecting it to your Pi..
The board is directly connected to the Raspberry Pi with the GPIO header.

There is no need to worry at all about any voltages.
by Arjan
Wed Apr 05, 2017 7:03 pm
Forum: Troubleshooting
Topic: UART Dmx board with ola
Replies: 5
Views: 2185

Re: UART Dmx board with ola

- Set the gpio modes with gpio -g mode 18 out gpio -g write 18 1 gpio -g mode 14 alt0 gpio -g mode 15 alt0 I don't know where this is coming from. The DMX boards from BitWizard are bi-directional. As with proper DMX, it defaults to DMX input. When you would like to use the board with the Raspberry ...
by Arjan
Wed Apr 05, 2017 6:58 pm
Forum: Troubleshooting
Topic: UART Dmx board with ola
Replies: 5
Views: 2185

Re: UART Dmx board with ola

Hi everyone, new to the forums and I'm hoping to get a little help. I just picked up a pi3 and a dmx512 board from Bitwizard, this is the board: http://bitwizard.nl/shop/dmx/DMX-interface-for-Raspberry-pi-with-usb-(FT245RL) This board is compatible with software that supports Enttec USB. You do not...
by Arjan
Sat Feb 04, 2017 3:25 pm
Forum: Beginners
Topic: How can I play different videos at same time?
Replies: 7
Views: 1901

Re: How can I play different videos at same time?

Maybe of interest

I have written an Open Source Raspberry Pi SMPTE Timecode LTC Reader / Converter
http://www.raspberrypi-dmx.org/raspberr ... ltc-reader
The schematic is available here -> https://plus.google.com/+ArjanvanVught/ ... fXB7fnbHAg
by Arjan
Sat Feb 04, 2017 3:24 pm
Forum: Camera board
Topic: video and sound question
Replies: 9
Views: 13278

Re: video and sound question

Maybe of interest.

I have written an Open Source Raspberry Pi SMPTE Timecode LTC Reader / Converter
http://www.raspberrypi-dmx.org/raspberr ... ltc-reader
The schematic is available here -> https://plus.google.com/+ArjanvanVught/ ... fXB7fnbHAg
by Arjan
Sun Dec 11, 2016 6:19 pm
Forum: General programming discussion
Topic: DMX Lighting S/W
Replies: 10
Views: 3110

Re: DMX Lighting S/W

karrika After going through several QLC+ tutorials I see its is very strong in supporting different stage lighting fixtures. My project revolves around matrix's and I would estimate around a matrix of 3,000 pixels. Are you aware of Jinx! – LED Matrix Control ? It is great software for controlling l...
by Arjan
Sun Dec 11, 2016 6:14 pm
Forum: General programming discussion
Topic: DMX Lighting S/W
Replies: 10
Views: 3110

Re: DMX Lighting S/W

This does not sound like a DMX based lighting system at all. The way to control the LED's depends a lot of what hardware you are buying. With DMX based controls you are stuck with 512 channels for one controller. If you use RGB leds you can only control 170 LED's. Controlling such a large array sho...
by Arjan
Sun Dec 11, 2016 6:09 pm
Forum: Other projects
Topic: ArtNet to DMX node?
Replies: 11
Views: 19659

Re: ArtNet to DMX node?

The configuration for both software and hardware can be found here -> http://www.raspberrypi-dmx.org/raspberry-pi-art-net-dmx-out/configuration There is just one SPI on the Raspbery Pi header. Hence all the 4 DMX Universes are driven by a single SPI connection. Details about current and power needed...
by Arjan
Thu Dec 08, 2016 7:08 pm
Forum: General discussion
Topic: Artnet and ws2811
Replies: 1
Views: 2735

Re: Artnet and ws2811

Hi everyone! I want to control a strip of ws2811 led's using artnet, and was wondering if anyone has used there pi to receive Artnet, then control these leds. I would like to run Led strips around my house, and would be using more than 1 dmx universe, via artnet, so up to 600 leds. Raspberry Pi Art...
by Arjan
Thu Dec 01, 2016 5:50 pm
Forum: Bare metal, Assembly language
Topic: Setting UART clock is not reliable with latest firmware
Replies: 2
Views: 1034

Re: PL011 UART0 FIQ not reliable with latest firmware

Hi Ultibo, thanks for your reply. Much appreciated. I'm wondering if there is a reason you set the UART clock to 4MHz rather than just using the Get Clock Rate mailbox tag to ask for the current value and then calculate the divisor based on that? At any time, a 4MHz clock is perfect and I can just s...
by Arjan
Mon Nov 28, 2016 5:34 pm
Forum: Bare metal, Assembly language
Topic: Setting UART clock is not reliable with latest firmware
Replies: 2
Views: 1034

Setting UART clock is not reliable with latest firmware

Hi, After updating the firmware for working with the Raspberry Pi 2 V1.2 (a.k.a. 2B+), the PL011 FIQ is mostly unreliable. It applies for all models. The issue seems to be with the firmware upgrade to support the Raspberry Pi 2 V1.2 and changing the default UART CLOCK speed. The good scenario : I se...
by Arjan
Mon Jun 13, 2016 10:40 am
Forum: Other projects
Topic: ArtNet to DMX node?
Replies: 11
Views: 19659

Re: ArtNet to DMX node?

Hi everybody. I'm pretty new on everything related to DMX and Arnet but I need a way to create a ArtNet to DMX node using the Raspberry Pi. No need to install OLA. You can use the open source " Raspberry Pi Art-Net 3 ->DMX Out / Pixel controller [Plug & Play] " Just use a Raspberry Pi Model 2 with ...

Go to advanced search