picprojects.net Forum

picprojects.net Forum
It is currently Tue Oct 16, 2018 11:42 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: armhf issue
PostPosted: Wed Dec 07, 2016 3:39 pm 
Offline

Joined: Wed Dec 07, 2016 1:05 pm
Posts: 1
Hi,

I try to run picpgm on an A20-Olinuxino-micro with the following interface
configuration:
Code:
    <PgmIf name="GPIO Programmer (Custom A20)" typ="HVP" connection="GPIO">
        <PinCfg name="MCLR" pin="233" invert="0" />
        <PinCfg name="PGM" pin="234" invert="0" />
        <PinCfg name="CLK" pin="236" invert="0" />
        <PinCfg name="DOUT" pin="237" invert="0" />
        <PinCfg name="DIN" pin="238" invert="0" />
    </PgmIf>


and get this output on debian armhf testing:
Code:
harald@debian:~/picpgm$ sudo ./picpgm -if "GPIO Programmer (Custom A20)" -r

==================================================================
PICPgm 2.9.1.0
PIC Development Programmer, http://picpgm.picprojects.net
Copyright 2002-2016 Christian Stadler (picpgm@picprojects.net)
built on Apr 27 2016, 20:19:38
==================================================================

GPIO: couldn't detect hardware!
GPIO access via /sys/class/gpio
*** Error in `./picpgm': free(): invalid next size (fast): 0x019de868 ***
Aborted
harald@debian:~/picpgm$


Not sure what to do about this. Having the source code at hand would make figuring out,
what these messages mean, a lot easier. In the end there seems to be a crash though,
so maybe the installed binary isn't compatible to my system?

TIA,
Harald


Top
 Profile  
 
 
 Post subject: Re: armhf issue
PostPosted: Sat Dec 10, 2016 10:34 am 
Offline

Joined: Fri Oct 28, 2011 5:18 pm
Posts: 225
Hi Harald,

there was a problem in the GPIO handling (pin numbers greater than 40 caused PICPgm to crash).
I have fixed this issue along with PICPgm 2.9.2.1.

Download link:
http://picpgm.picprojects.net/download.html

Regards,
Christian


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group