|T O P I C R E V I E W
||Posted - 08/20/2009 : 15:25:32
HELLO GUYS, IN MOST COMPILERS FOR WRITING PROGRAMS FOR MICROCONTROLLERS, YOU CAN SET THE CONFIG FUSES FROM THE COMPILER. BUT IN TOPWIN SOFTWARE YOU STILL HAVE TO SET CONFIG FROM THE GUI, I DONT KNOW IF THERE IS A WAY I CAN DISABLE HAVING TO SET CONFIG FROM THE TOPWIN SOFTWARE, SO THAT YOUR CONFIG IN YOU HEX FILE CAN BE USED. I HAVE TOP2049 PROGRAMMER WITH TOPWIN 5.88.
|4 L A T E S T R E P L I E S (Newest First)
||Posted - 08/25/2009 : 17:01:22
Hello simeon, though i am not too good at the syntax of ccs c but i know what you are talking about, i once wanted to learn ccs c syntax before settling for mikroc pro from mikroelectronica. in the ide you can set config fuses easily like icprog interface. so i will want to see your examples to understand exactly how i can extract config fuse settings from the header file. cos i tried using the load file stuff and the config was not loaded. in mikroc i have the config file that is .cfg that has the config settings and i was able to load this into the data buffer by using load data, but that does not mean the 1s and 0's stuff in the config bit adjusted to this compiler values, i still had to set them manually. again sometimes you see a 1 in the config in topwin software labelled as enable whereas in the datasheet same 1 is serving to disable a feature. all this sound so confusing, i think making the software open source would enable the whole world to contribute to making the software better.
for instance i want to read all the content of a 64k serial eeprom and i am hardly able to see beyound the first 6 pages of the eeprom when i use the read to buffer icon. and you cant erase your serial eeproms from the software. to me there is so much enhancement needed for the software, unfortunately being a chinese manufacturer i dont think they have something like customer feedback.
||Posted - 08/25/2009 : 00:05:51
after seeing exactly what you mean
this should be done at compiler level i feel there right
there is no point in having all the clutter of clock readout in a programmers front end
forinstance if you use an app like CCS picc compiler and C language
this is all done and avalible in its ide as nice applets
a config string is loaded as i described
it contains the compilers view on this ,,,, youve set there
as a simple string in a .h header file
ill send you a few examples if you need it
you expect too much from makers of hex flash to add these 'tools'
that really live in the compiler
try the demo of ccs picc for pic18 etc,..apps and see what you think
also i dont think this is a good programmer for you
if you want to 'tinker' with config setups
you need an icd or isp type programmer and prefer one made to work with the compiler your using
using a boot block this can also be done via rs232 on the fly
||Posted - 08/22/2009 : 15:32:07
thanks Simeon for wanting to help me, this did not work however. i think there should have been option to set config from compiler software or have the software able to extract config from hex file. consider wanting to program an 18f4550 and having to set config, you can look at the config and see what it will take to use a 4mhz xtal to run the cpu at 48mhz and the usb at 48mhz. one has to look at the datasheet and set enough zeros and ones, this is not too ideal. it is really error prone.
||Posted - 08/21/2009 : 02:57:50
go to the file menu and choose 'load data' load your file
it will load the config im sure....
not sure it loads all the data but you can check that
its different to 'open' file choice
although i must say a strange choice of words on the menus
and quite confusing at first
nice to see another top2049 owner
i think whats intended is to
load your file with 'open'
then load the config data by opening the file
with 'load data' this fills the configuration data segments buffers in the topwin app
with the hex files mcu embeded config