Hi GPSIM devs,
Firstly, thanks for making the sim :)
I'm trying to scope GPIO pins for a 10F202, however it returns errors.
The command I send is: scope.ch0 = gpio0
Which returns: ERROR: cannot copy IO_bi_directional
There is no sense of "PORT" registers on the PIC10 series, just the GPIO register. I'm wondering if that is the issue?
I've attached my source/hex files if that helps :)
Thanks
Anonymous
FYI my version is: gpsim-0.32.1
I compiled it from the from the release source tarball. I'll try the latest code in case it's already fixed
I built the latest GTK3 version and it's the same.
Notes regarding the latest build:
-> configure is not in the source so I needed to run autogen.sh (I'm not familiar with autotools)
-> I needed Yacc (Bison) and Lyx installed, maybe these could be checked by configure?
-> scan.cc is missing from the /cli directory - I copied in the version from the release tarball and it compiled but it's odd that it's gone.
Thanks
I think the issue with scope is in your syntax.
try :
scope.ch0 = 'gpio0'
Note that scan.cc is generated with flex from the scan.ll file.
Ahh right, sorry. Your syntax works - user issue 😅.
Thank you, this can be closed :)
Like Yacc and Lyx, Flex is not checked by configure so I didn't know it was required. A lot seems to have changed for the GTK3 version. Looking forward to the next stable release :)
Closing as not a bug. Will look at making build requirements better reported in configure.