Go to advanced search

by macload1
Wed Apr 29, 2020 10:18 am
Forum: Bare metal, Assembly language
Topic: Bare metal UART w/FIQ stops working
Replies: 3
Views: 491

Re: Bare metal UART w/FIQ stops working

Dear okenido, I already had such a problem on a different hardware and something that really helped me to debug that kind of problem was setting a breakpoint on the modification of that register. In my case it was a memory leak, that modified a pointer, and it was easy to find with the breakpoint. D...
by macload1
Wed Apr 08, 2020 9:14 am
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 830

Re: A bootloader over serial for bare metal rpi development

hmj, Thanks a lot for sharing your program. Since this week-end I have a setup that gives a bit more insight during bare metal programming. I set up a RPi 0 W to debug my main RPi 0. So, the debugger RPi has OpenOCD installed and is connected to my local network (I share my PCs LAN network over a mo...
by macload1
Wed Apr 08, 2020 8:54 am
Forum: Bare metal, Assembly language
Topic: POSIX port with gcc
Replies: 5
Views: 594

Re: POSIX port with gcc

Dear jahboater, Thanks for your comment. I tried your compiler settings and both are also working. I will have to document myself about the exact differences of those settings, but in a first time I'll stick with the c99 setting, as this is what TIs library is compiled with in their demonstration pr...
by macload1
Tue Apr 07, 2020 2:39 pm
Forum: Bare metal, Assembly language
Topic: POSIX port with gcc
Replies: 5
Views: 594

Re: POSIX port with gcc

Okay, I found the solution myself.
I needed to add -std=c99 as compilation option and away (nearly) all problems!
by macload1
Tue Apr 07, 2020 10:35 am
Forum: Bare metal, Assembly language
Topic: POSIX port with gcc
Replies: 5
Views: 594

Re: POSIX port with gcc

Addendum:

I also tried the FreeRTOS Plus POSIX port, but as it also differs from TIs POSIX port, that doesn't help me a lot.
by macload1
Tue Apr 07, 2020 10:34 am
Forum: Bare metal, Assembly language
Topic: POSIX port with gcc
Replies: 5
Views: 594

POSIX port with gcc

Dear community, I need your advice for my problem. I have a bare metal system working with the following libraries: FreeRTOS (10.3.0) µGFX (2.4) different low level APIs (mUART, SPI, GPIO, interrupts, ...) I would like to port the CC3120 library from Texas Instruments to my system. This library reli...
by macload1
Thu Feb 27, 2020 2:41 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 303
Views: 95143

Re: Circle - C++ bare metal environment (with USB)

@blibby: I will not comment too much on FreeRTOS, as this thread is Circle related, but you may be assured, the FreeRTOS port located here: https://github.com/macload1/RPiFreeRTOSuGFX is working perfectly fine. I started from James Walmsley's port and ported it to the (then) actual version of FreeRT...
by macload1
Tue Jun 25, 2019 8:11 pm
Forum: Troubleshooting
Topic: DPI video signals
Replies: 1
Views: 325

Re: DPI video signals

Dear riph72-lumi, Did you finally find out where that comes from? I think I have a similar problem than you. I also want to make work a 320x240 LCD using DPI. My custom settings for a 800x480 and for a 420x272 displays are working perfectly, but when I switch to the 320x240 settings (still custom on...
by macload1
Thu Nov 29, 2018 11:04 am
Forum: Bare metal, Assembly language
Topic: Pi 3B+ Activity LED
Replies: 23
Views: 12904

Re: Pi 3B+ Activity LED

I think he just made a typing error MHz => GHz
by macload1
Fri Nov 16, 2018 6:37 pm
Forum: Bare metal, Assembly language
Topic: LdB's FreeRTOS example
Replies: 9
Views: 4457

Re: LdB's FreeRTOS example

Ok, I cleaned out my code to make it usable. If you want to show something on your screen, you just need to put your own config file (and maybe comment out the GPIO related stuff in the beginning of main, but I think that's not absolutely needed. In fact, I use a LCD connected through DPI) I will no...
by macload1
Fri Nov 16, 2018 10:43 am
Forum: Bare metal, Assembly language
Topic: LdB's FreeRTOS example
Replies: 9
Views: 4457

Re: LdB's FreeRTOS example

You just wrote down all the things I thought to discover when I saw your Github example telling about FreeRTOS on a multicore platform! And you are right, that's a hard way to do the balancing and switch the tasks over the different cores. I thought a more lightweight way, where you define the core ...
by macload1
Fri Nov 16, 2018 9:09 am
Forum: Bare metal, Assembly language
Topic: LdB's FreeRTOS example
Replies: 9
Views: 4457

Re: LdB's FreeRTOS example

Hi LdB, Many thanks for the explanations. I didn't check your code in detail yet, but if I understand well, you will have 4 schedulers running, one on each core and not one scheduler that handles and distributes the tasks on the 4 cores? As of the interrupt numbers, I didn't yet touch any of the mul...
by macload1
Thu Nov 15, 2018 3:32 pm
Forum: Bare metal, Assembly language
Topic: LdB's FreeRTOS example
Replies: 9
Views: 4457

LdB's FreeRTOS example

Hi LdB, I saw your post in the USB thread and the new FreeRTOS examples you shared in your github account. The 4 core switcher interests me a lot! Would it be possible for you to start from a newer FreeRTOS implimentation? By the time, I did myself an update of James Walmsley's examples (even two ti...
by macload1
Tue Jul 10, 2018 12:17 pm
Forum: OpenVG
Topic: Stretch: how to install latest openVG version with Dot() function?
Replies: 40
Views: 30388

Re: Stretch: how to install latest openVG version with Dot() function?

In the Makefile under "install" there is this one missing "install -m 644 -p eglstate.h /usr/include/"

Just copy the missing file into the /usr/include directory and that error will be gone!

P.S.: Sorry, I'm not Paeryn...
by macload1
Sun Jul 08, 2018 8:31 am
Forum: Bare metal, Assembly language
Topic: Bare metal malloc
Replies: 9
Views: 3789

Re: Bare metal malloc

You may check out my repo: https://github.com/macload1/RPiFreeRTOSuGFX/

In src/Demo/main.c you'll find the function: void * _sbrk(uint32_t delta) that's needed to use your compiler's malloc function.

Also check out the linker script needed to make all this work.

Best regards,
macload1
by macload1
Wed Jul 04, 2018 7:14 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 372
Views: 72092

Re: Multiple Frame buffer beta testers wanted

Oh, I just saw that this is not for the Zero or Zero W, but only for the multi-core PIs. Where did you see that? AFAIK multiple frame buffers should also work on a Zero... Correct. It's mostly Videocore changes and that bit of HW is the same across the Pi range. Oh, I was mislead by the first post ...
by macload1
Tue Jul 03, 2018 7:03 am
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 372
Views: 72092

Re: Multiple Frame buffer beta testers wanted

Oh, I just saw that this is not for the Zero or Zero W, but only for the multi-core PIs.

Good luck then!
by macload1
Mon Jul 02, 2018 1:24 pm
Forum: General discussion
Topic: Multiple Frame buffer beta testers wanted
Replies: 372
Views: 72092

Re: Multiple Frame buffer beta testers wanted

I have a Pi Zero connected over DPI to a display and could also connect a HDMI display.

Is it possible to charge the system over usbboot (rpiboot) for testing? I don't have any spare SD card.

Best regards,
macload1
by macload1
Fri Jun 15, 2018 9:22 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi Zero W Test Pads
Replies: 0
Views: 991

Rpi Zero W Test Pads

Hi all, I don't know if this is generally known or if nobody ever checked that out, but I found some new test pads on the Raspberry Pi Zero W that were not documented (or at least, I didn't found any comment on it). In the attachment, you'll find the position and the names I gave them. PP1: BCM35 PP...
by macload1
Mon May 28, 2018 1:00 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Interfacing RPI with Somfy Smoove RTS Pure
Replies: 3
Views: 4806

Re: Interfacing RPI with Somfy Smoove RTS Pure

Dear alxlaxv, I have a setup working for my Somfy shutters (with the same remote control) that's like described here: RPi talks to an Arduino through USB Arduino talks to CC1101 through a 5V to 3.3V level translator CC1101 sends the commands to the shutter. There is code available on the itnernet fo...
by macload1
Mon Jul 07, 2014 6:54 am
Forum: Bare metal, Assembly language
Topic: STICKY: Bare Metal resources
Replies: 28
Views: 126975

Re: bare metal resources

Link to an example of Raspberry Pi running FreeRTOS and µGFX as GUI using the framebuffer (output on HDMI or composite)

-> http://macload1.frogcp.com

Go to advanced search