programming the C167CS

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Not applicable
Hi, I''m working on a project using the C167CS micro controller and i want to program it but i don't know how to do this!
If i use the ulink2, how can i connect the pins to its connector?
which pins will be used ?
please guide me
thanks
0 Likes
8 Replies
Caar
Employee
Employee
Welcome! First question asked First reply posted
Hi Carlos,

The C167CS microcontroller is a Mask ROM based device. It does not have any programming or debug interface so the Ulink2 can not be used with this part.

The C167 parts are quite old now and have been replaced by the XC2000 16-bit family. You can find information about the XC2000 family at www.infineon.com/XC2000

Regards,
Chris
0 Likes
User9698
Level 3
Level 3
hi Chris66.
I have this problem too. But i want using SAK-C167CS-LM and put external flash in my circuit.
How can i program external flash in Circuit?in your opinion i must eject flash and program,then put in circuit every time?
have special interface for this work?
I don't want change in hardware.
please help.
thanks.
0 Likes
Not applicable
Hi hemn,

As mentioned by Chris, this device is very old and not much information is available.
I would suggest you look through the application note C16xCx - Programming an external flash memory via the CAN bus (ap1607510_.pdf) and use that as the reference for your implementation.
0 Likes
User9698
Level 3
Level 3
Hi Jackson.
Thank you.:)
0 Likes
User9698
Level 3
Level 3
Hi jackson.
I still work on the C167CS-LM.
solved programming problem.
I've made simple board to C167CS-LM.a AM29F400BB-90ns flash used for external flash.
i use FlasHit9 software in bootstrap mode for programming.when connect a board and read CPU info,that is Ok, read but Does not recognize external flash.
what is wrong?!please can help me?thank you.:(
Circuit Diagram and register setting is:1407.attach
http://s000.tinyupload.com/?file_id=47320254101938365208
0 Likes
User9698
Level 3
Level 3
Hi.I want enable the RTC timer in C167CS-LM.in Simulator of the keil this Timer work fine and can use the interrupt, but in real world this timer do not count! what is problem? the RTC registers need to unlock to change?
to setting of register i use the Dave Code Generator.
Setting of register:

T14= 0xFEC8 ;
T14REL = 0xFEC8 ; // load RTC reload register
RTC_vReset();
/// -----------------------------------------------------------------------
/// Configuration of the used RTC Interrupts:
/// -----------------------------------------------------------------------
/// - RTC_PLL_OWD service request node configuration:
/// - RTC_PLL_OWD interrupt priority level (ILVL) = 9
/// - RTC_PLL_OWD interrupt group level (GLVL) = 1

XP3IC=0x0065;

ISNC= 0x0002; // load interrupt sub node register for


interrupt Function:

void RTC_viRTC(void) interrupt XP3INT=0x43
{

// USER CODE BEGIN (RTC,2)

// USER CODE END

if(ISNC_RTCIR) //if RTC interrupt
{
ISNC_RTCIR = 0;
IO_vTogglePin(IO_P3_1);
} //end of RTC interrupt
if(XP3IC_XP3IR)
{
XP3IC_XP3IR =0;
}

} // End of function RTC_viRTC
thanks .
0 Likes
Not applicable
I have similar problem and I'm using Infineon Minimon for read.
0 Likes
User21883
Level 1
Level 1
hemn wrote:
Hi jackson.
I still work on the C167CS-LM.
solved programming problem.
I've made simple board to C167CS-LM.a AM29F400BB-90ns flash used for external flash.
i use FlasHit9 software in bootstrap mode for programming.when connect a board and read CPU info,that is Ok, read but Does not recognize external flash.
what is wrong?!please can help me?thank you.:(
Circuit Diagram and register setting is:1407.attach
http://s000.tinyupload.com/?file_id=47320254101938365208




Hi,
can you tell me which hardware is required to program C167CS-LM.
I also need it urgently.
Thanks
0 Likes