[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PIK microcontroller development issues



Hi, everyone,
	I don't know if anyone here is working with PIC micros, but I am
working on several projects, which I wanted to move the PIKLAB and SDCC
with the GPSIM simulator.

	So far I have gotten PIKLAB to load and apparently work with SDCC, but
gpsim is fighting me tooth and nail.  I cannot get it integrated with
PIKLAB the way I expected.

	So far I have added the following to my F11 system:

	gpsim
	gpsim-devel
	gtk+* packages to get the basics of gtk+ and the extended packs
	PIKLAB of course
	SDCC
	SDCC-devel
	KDEbase (although I run Gnome)
	Ktechlab (needed to get some bits of gpsim I discovered in a web crawl)
	gputil

	I can compile programs, but so far gpsim doesn't recognize the
processor. This is as of today after adding KDEbase.  

	gpsim seems to run OK, but doesn't find some of its require fonts, or
any of the processor files either.  I tried invoking gpsim with gpsim
-pp16f887 FreqCounter.hex (my file) but it couldn't find the processor
or fonts.  I am sure I can eventually sort out the fonts, but the other
stuff is more perplexing.  The packages were loaded from the
system->Administration->Add/Remove software operation.
Here is the message sequence from the command line invocation:
$: gpsim -pp16f887 FreqCounter.asm

gpsim - the GNUPIC simulator
version: Release 0.23.0


type help for help
**gpsim> SimulationMode:114
The font "Courier Roman 14" does not support all the required character
sets for the current locale
"LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8"
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-2")
  (Missing character set "ISO8859-3")
  (Missing character set "ISO8859-4")
  (Missing character set "ISO8859-5")
  (Missing character set "KOI8-R")
  (Missing character set "ISO8859-7")
  (Missing character set "ISO8859-9")
  (Missing character set "ISO8859-13")
  (Missing character set "ISO8859-14")
  (Missing character set "ISO8859-15")
  (Missing character set "JISX0208.1983-0")
  (Missing character set "KSC5601.1987-0")
  (Missing character set "GB2312.1980-0")
  (Missing character set "JISX0201.1976-0")
  (Missing character set "ISO10646-1")
The font "Courier Bold 14" does not support all the required character
sets for the current locale
"LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8"
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-2")
  (Missing character set "ISO8859-3")
  (Missing character set "ISO8859-4")
  (Missing character set "ISO8859-5")
  (Missing character set "KOI8-R")
  (Missing character set "ISO8859-7")
  (Missing character set "ISO8859-9")
  (Missing character set "ISO8859-13")
  (Missing character set "ISO8859-14")
  (Missing character set "ISO8859-15")
  (Missing character set "JISX0208.1983-0")
  (Missing character set "KSC5601.1987-0")
  (Missing character set "GB2312.1980-0")
  (Missing character set "JISX0201.1976-0")
  (Missing character set "ISO10646-1")
The font "Courier Bold 14" does not support all the required character
sets for the current locale
"LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8"
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-1")
  (Missing character set "ISO8859-2")
  (Missing character set "ISO8859-3")
  (Missing character set "ISO8859-4")
  (Missing character set "ISO8859-5")
  (Missing character set "KOI8-R")
  (Missing character set "ISO8859-7")
  (Missing character set "ISO8859-9")
  (Missing character set "ISO8859-13")
  (Missing character set "ISO8859-14")
  (Missing character set "ISO8859-15")
  (Missing character set "JISX0208.1983-0")
  (Missing character set "KSC5601.1987-0")
  (Missing character set "GB2312.1980-0")
  (Missing character set "JISX0201.1976-0")
  (Missing character set "ISO10646-1")
Unable to find processor
cmd_load::load hex file FreqCounter.asm
cmd_load:: load hex, Processor not defined
**gpsim> 


	I tried to figure out where gpsim figures out its processors, and it
seems that the processors are loaded as a shared object file ".so" from
the gpsim-devel package.  I have not yet been successful in discovering
where that package is currently located on my system.  I tried a "find .
gp*.so -print" from the root directory, but had no success.

	So my questions:
	1.  how should I proceed to discover any or all of the following:
		A. shared object file name
		B. install paths
		C. errors being generated if they don's show up in the gpsim windows
(clearly the cause of not quoting error messages here other than the one
that gpsim couldn't find the processor which appears in two different
forms depending on how I invoke it).
	2. A process to get gpsim working on Fedora (this seems to be a F11
issue because I have had little luck finding solutions on the web
despite working on this for weeks.)
	3. Once past 1 and 2, integrating the works for F11.

	Maybe I can get some of you interested in neat microcontroller
programming.  These little mcpus are really quite powerful and neat for
all kinds of jobs.

Thanks for any and all help,
Les H


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]