Search found 3430 matches

by TJF
Apr 19, 2019 21:12
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi Dinosaur! Fixing the single shot would be preferable, no rush , I will keep developing (and also look for alternatives) One shot mode by hardware is a No-Go. Now it's implemented by software. And I found and fixed a bunch of other bugs and did some fine tuning regarding the TIMER and PWM timings....
by TJF
Apr 06, 2019 17:04
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Dinosaur wrote:Will you update your site so that I can test it as well ?
Yes, I will. The question is when. Also I'll have to fix the single shot issue. Either I remove this feature (from code and docs). Or - my prefered solution - I find a way to make it work. But the later may take some time.

Regards
by TJF
Apr 06, 2019 11:45
Forum: Linux
Topic: Syntax Highlighting for gEdit!
Replies: 4
Views: 1980

Re: Syntax Highlighting for gEdit!

This one is available since years:

https://github.com/fbdebugger/fbdebugge ... basic.lang

It also supports documentational comment.

Regards
by TJF
Apr 06, 2019 11:13
Forum: General
Topic: HTTPS Requests in FreeBasic
Replies: 3
Views: 277

Re: HTTPS Requests in FreeBasic

For https protocol (port 443) I use Gio. Find a header file at https://github.com/DTJF/gir_headers/tree/master/Gir

Regards
by TJF
Apr 06, 2019 10:24
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi Dinosaur! 2: Set a Timed Pulse output (ie: P8_07 Hi for 350 mSec) Can't get beyond 0.2 mSec. I found and fixed a mis-scaling bug. But I'm also dealing with hardware issues here. My code is runing well when the TIMERSS is continuously repeating a pulse train (like PWM). But when I set up a single ...
by TJF
Apr 03, 2019 18:26
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi Dinosaur! Sorry, no TIMER examples yet. Currently that's work in progress. I'm not happy with the setValue parameters. I think finally Dur1 should set the full duration of the period, while Dur2 should specify the part timer for high state. Also I want to use the TIMER-SS for frequency measuremen...
by TJF
Mar 28, 2019 15:05
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Dinosaur wrote:Only did what you suggested.
I may be wrong some times. The output of dpkg -l libpruio* may help.

Regards
by TJF
Mar 28, 2019 14:43
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Dinosaur wrote:Since the update I am having the following error even on running SOS.
Malloc(): Memory corruption: 0x1685f68
This sounds like header miss-match. You updated the binary (package libpruio). Did you also update the header files (packages libpruio-dev and libpruio-bas)?

Regards
by TJF
Mar 28, 2019 6:02
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Dinosaur wrote:... and tried to reboot onto a backup uSD.

The only light that comes on is the 5vdc power nothing else.
It seems that the backup wasn't made by dd command (you just copied the files). In this case the kernel boot loader doesn't find a bootable partition (neither eMMC nor uSD).

Regards
by TJF
Mar 27, 2019 18:32
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

You have done well. Thanks for the feedback! I have tested by turning all 20 outputs On, and in one sequence shut them all down at once. Whilst running with my current setup, the loop time is about 35 micro Sec.(I have removed all usb coms) During the period of shutting 20 outputs Off, it goes to a...
by TJF
Mar 27, 2019 11:46
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

libpruio (BB D/A - I/O fast and easy) - version 0.6.4b

Hi all!

I fixed two bugs (fast setValue sequence and DTOR re-muxing). New packages are uploaded. You can upgrade by

Code: Select all

sudo apt update
sudo apt --only-upgrade install libpruio*


Regards
by TJF
Mar 27, 2019 4:56
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

I have no idea what you are doing there. To understand that code you need to know the GPIO-SS hardware in the AM335x CPU, and the ASM code running in parallel on the PRU (that writes to the hardware registers). Edit: How do I Dim Share the line: VAR io = NEW PruIo Nothing special here: DIM SHARED A...
by TJF
Mar 26, 2019 16:36
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi Dinosaur! EDIT: Guess that's not possible as there will be a mixture of I/P's and O/P's Not correct. You can also set output pins, up to 32 pins on one GPIO-SS at a time. Check out the source code at SUB GpioUdt::setGpio() (the WITH *Top block). Meanwhile I found and fixed the DTOR bug (re-muxing...
by TJF
Mar 21, 2019 21:01
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi tai!
tai wrote:..., I am using the latest kernel I believe:

Code: Select all

debian@beaglebone:/dev$ uname -r
4.14.71-ti-r80
You may find helpful hints here (old boot loader on eMMC)

https://groups.google.com/d/msg/beagleb ... WoWp2jAQAJ

Regards
by TJF
Mar 20, 2019 18:38
Forum: Libraries
Topic: libpruio (BB D/A - I/O fast and easy)
Replies: 341
Views: 52755

Re: libpruio (BB D/A - I/O fast and easy)

Hi Dinosaur! PS: Broadly speaking how would you (or have you) implement a PWM output of a fixed number of pulses. All the reading I have done incorporates putting the o/p to an i/p and then polling for the count. (messy) I haven't done this yet. The solution depends on the capabilities of the subsys...

Go to advanced search