Search found 2261 matches

by Ultibo
Sat Jul 20, 2019 12:59 am
Forum: Discussion
Topic: Testing the FTDI USB Serial
Replies: 33
Views: 3990

Re: Testing the FTDI USB Serial

I think that there is something else going on here with the status. With processor power off I get status of $0000004 With processor power off and RI shorted to GND I get status of $00004004 I'm not sure I understand the significance of the RI (Ring Indicator) pin in this case, does your device req...
by Ultibo
Sat Jul 20, 2019 12:51 am
Forum: General
Topic: Question about Generic Timer usage
Replies: 2
Views: 44

Re: Question about Generic Timer usage

There's nothing we can think of that would cause these results so we'll have to test it and see what we find. Okay so we've created a test that runs the Generic Timer at various intervals and records the results. For an interval of 1000 it takes exactly 1 million microseconds for 1000 timer interru...
by Ultibo
Fri Jul 19, 2019 10:14 am
Forum: Discussion
Topic: Testing the FTDI USB Serial
Replies: 33
Views: 3990

Re: Testing the FTDI USB Serial

Hi, So as you've discovered there was a big update to the FTDI drivers a little while ago thanks to some excellent work by sbk58, you will need at least version 2.0.651 of the RTL in order to get good support for RTS/CTS with these devices. Just a few other follow ups from your posts. With ultibo th...
by Ultibo
Fri Jul 19, 2019 9:51 am
Forum: General
Topic: Question about Generic Timer usage
Replies: 2
Views: 44

Re: Question about Generic Timer usage

When Timer1_Interval = 1000, the timer interrupt is 1ms. but in case of Timer1_Interval = 2000, the timer interrupt is not 2ms it's about 4ms. I don't know why ? Could you recommend for precise timer interrupt usage ? There's nothing we can think of that would cause these results so we'll have to t...
by Ultibo
Wed Jul 17, 2019 11:33 pm
Forum: Ultibo
Topic: New Ultibo FPC and Lazarus Linux installation script (Testers wanted)
Replies: 52
Views: 8457

Re: New Ultibo FPC and Lazarus Linux installation script (Testers wanted)

Bit of messing about with the new Buster on a Pi4 but Ultibo is working now. I installed FPC then Lazarus then Ultibo. FPC is version 3.0.4, wondering if that could be used to build Ultibo instead of the 3.0.2 the ultiboinstaller needs? It could but what would be the point, the installer downloads,...
by Ultibo
Wed Jul 17, 2019 11:25 pm
Forum: Discussion
Topic: Testing the FTDI USB Serial
Replies: 33
Views: 3990

Re: Testing the FTDI USB Serial

I found the problem. I had removed uses RaspberryPi3, because I don't have a Pi3. It seems that to recognise these device uses RaspberryPi, is necessary. One of the "downsides" to the flexibility of Ultibo is that you have to remember to include all of the components you require ;) Excell...
by Ultibo
Mon Jul 15, 2019 11:42 pm
Forum: Discussion
Topic: fiq design
Replies: 75
Views: 10449

Re: fiq design

BTW, I haven't checked yet, but do interrupts get masked when they happen, by which I mean does the occurrence of an interrupt result in no more being allowed until the current interrupt has completed processing? Currently when an IRQ occurs then all IRQs remain disabled until it is serviced, when ...
by Ultibo
Mon Jul 15, 2019 11:22 pm
Forum: Ultibo
Topic: New Raspberry Pi 3 A+ now supported
Replies: 10
Views: 1410

Re: New Raspberry Pi 3 A+ now supported

I noticed the new Pi4 stuff in the GitHub, must be getting closer :D Updating the compiler is only step one in the process, now we can move on with attempting to boot the new model to see what else is needed. Do I wait for the new release or try again with the old and updating? The Pi4 update will ...
by Ultibo
Sun Jul 14, 2019 6:28 am
Forum: Discussion
Topic: fiq design
Replies: 75
Views: 10449

Re: fiq design

rvanspaa wrote:I found the cause of the problem. I had defined the "speed" parameter as "word" rather than longword, so by definition the upper limit on speed was 65535. :oops:
Once I replaced if with longword, I started getting much better numbers. :D

Excellent, thanks for letting us know.
by Ultibo
Sun Jul 14, 2019 12:00 am
Forum: Discussion
Topic: fiq design
Replies: 75
Views: 10449

Re: fiq design

I tried commenting out the spinlock/spinunlock & recompiled ultibo, but it made no difference. That's lucky in a way because I think the spinlock would likely be a mandatory part of the handler in order to prevent a race with other CPUs. I would have thought the try/finally would potentially be...

Go to advanced search