Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Sorry,
I don't know this cable pl2303.
If all of the output levels of this cable are 0-5 V (for standarfd RS are -12 to +12V), than you can try to use it directly to micro, but you have to be sure that this is USB rs232-TLL converter.
M.
Hi,
you may connect FT232 direct to micro (remember to cross TX & RX) on TTL level.
BUT...
Your micro should have TX and RX pins 5v tollerant.
Regards
Mariusz
Self service done :)
Because I haven't found nowhere definition of the FLASH_CODE, I have removed it.
In the meantime I have tested with IAR Workbench and of course effect was the same because of conditional for COSMIC and IAR with undefined FLASH_CODE.
Now bootloader works.
Mariusz
Hi,
the best way in this case is to download sample project from Microchip site.
There is a lot of them there.
Than compile it, if will works:
- look for settings in Build Option (came with project)
- look for #include directives in source files and compare them with folders (i.e. /src, /h) of...
Hi,
it looks like project configuration and search directories problem.
Look here:
(MPLAB IDE)
Project -> Build Options -> Project -> Directories.
Another thing may be localisation of the files in directories and include defs:
#include "..\xxx.inc"
vs
#include "xxx.inc"
Good look :)
Mariusz
Hi all,
I am experienced in many micros and IDE's except of STM family and their tools.
To try with this platform I have bought Discover board with STM8s105c6.
I have compiled and tested couple of simple examples in STVD (4.3.1) with free Cosmic, no problem.
Now I am trying with bootloader...
Hi all,
very nice and working code.
I did a small improvements to easy use in ASM/C environment :).
So,
I have some variables in C:
unsigned int var_1;
unsigned int var_2;
unsigned int _EEDATA(2) var_1_eep = {0x5678};
unsigned int _EEDATA(2) var_2_eep = {0x1234};
If I would like to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.