Go to advanced search

by riverajl
Fri Dec 21, 2018 10:06 am
Forum: Bare metal, Assembly language
Topic: Writing to the framebuffer is slow
Replies: 24
Views: 6464

Re: Writing to the framebuffer is slow

Lets deal with the basics stuff first 1.) You don't have the arm cores at full speed they are at the slow default speed Get the max speed mailbox command 0x00030004 ARM clock ID = 0x3 Set that clock speed mailbox command 0x00038002 ARM clock ID = 0x3 Hi guys. I have tried to check/set the ARM clock...
by riverajl
Thu Dec 20, 2018 11:05 pm
Forum: Bare metal, Assembly language
Topic: How to disable video scaling
Replies: 5
Views: 1430

Re: How to disable video scaling

Thank you. It worked with scaling_kernel=8.

Is there some documentation about it or only in the Linux code?

Thanks.

José Luiz
by riverajl
Wed Dec 19, 2018 11:24 pm
Forum: Bare metal, Assembly language
Topic: How to disable video scaling
Replies: 5
Views: 1430

Re: How to disable video scaling

Thanks for your answer. It seems that your code is for Linux environment.

I am building my game as a bare metal one.

Is your solution possible for a bare metal one?

José Luiz
by riverajl
Mon Dec 17, 2018 11:58 pm
Forum: Bare metal, Assembly language
Topic: How to disable video scaling
Replies: 5
Views: 1430

How to disable video scaling

Hi guys. I am trying to develop a low resolution game in PI 3 B but the image always seems blurry because it is scaled to monitor height.

I have changed the config.txt including:

Code: Select all

hdmi_group=1
hdmi_mode=1
but the image continues being scaled.

Is there any way to disable this feature?

José Luiz
by riverajl
Wed Dec 12, 2018 6:16 pm
Forum: Bare metal, Assembly language
Topic: CSUD - Chadderz's Simple USB Driver (Source)
Replies: 56
Views: 17704

Re: CSUD - Chadderz's Simple USB Driver (Source)

I already have used interrupts.

There are ever a register to enable, to disable, to know the source and to clear the irq pending. Searching BCM2837 datasheet I could not find any register to clear USB interrupt.

Is there any one?

Tks
by riverajl
Wed Dec 12, 2018 10:23 am
Forum: Bare metal, Assembly language
Topic: CSUD - Chadderz's Simple USB Driver (Source)
Replies: 56
Views: 17704

Re: CSUD - Chadderz's Simple USB Driver (Source)

Dear. Does your single source for csud solution implements interrupt for usb?

If not, is there any direction for getting it?

Tkanks.

José Luiz
by riverajl
Tue Dec 11, 2018 9:01 pm
Forum: Bare metal, Assembly language
Topic: CSUD - Chadderz's Simple USB Driver (Source)
Replies: 56
Views: 17704

Re: CSUD - Chadderz's Simple USB Driver (Source)

It worked.

Thanks a lot
by riverajl
Tue Dec 11, 2018 11:01 am
Forum: Bare metal, Assembly language
Topic: CSUD - Chadderz's Simple USB Driver (Source)
Replies: 56
Views: 17704

Re: CSUD - Chadderz's Simple USB Driver (Source)

Hi, thanks.

I already did this interfacing with mailbox. I will try tonight.

Att,

José Luiz
by riverajl
Mon Dec 10, 2018 10:56 pm
Forum: Bare metal, Assembly language
Topic: CSUD - Chadderz's Simple USB Driver (Source)
Replies: 56
Views: 17704

Re: CSUD - Chadderz's Simple USB Driver (Source)

Hi guys. I am trying to use the libcsud with raspberry pi 3 B . I have changed the base address of the USB block from 0x20980000 to 0x3f980000 as well others 0x20....... addresses (time counter etc). The driver initializes well but does not find the keyboard (as well as the mouse). Complied with DEB...
by riverajl
Thu Dec 06, 2018 10:28 am
Forum: Bare metal, Assembly language
Topic: Using ldrex instruction hangs
Replies: 2
Views: 1027

Using ldrex instruction hangs

Hi forum guys. I am writing first my bare metal sw in a RPI 3B and trying to build a lock mechanism between cores using ldrex and strex instructions. It's a simple thing only to begin. I have a issue that the ldrex instruction hangs. I don't know if it's necessary more configuration, but my code is ...

Go to advanced search