Legacy microcontrollers Forum Discussions
I just started using SK-FM4-216-ETHERNET Evaluation Board and it comes with a few examples but I'm looking for the most basic, to understand the use of inputs and outputs, press a button and turn an LED things like that.
Is there any sample code that explain the use of GPIO's?
The software I'm using is Keil uVision 5
Show LessGreetings
im looking to hire someone who will be able to read/write specific automotive engine ecu which mounts password protected infineon tricore tc17xx microcontroller
currently no tool on the market offer support for this ecu type,
i am aware its complex job but i am interested to solve, price is not an issue if it can be solved, i have alot of these units waiting,
best regards
Show LessHello.
[1] chapter 8.14.3.1 states "The ECC error detection can be triggered on purpose to test the detection itself and the associated trap routine. This test option is available for RAMs". So, previous stated chapter describes how the RAM ECC error detection can be tested. That’s fine.
My question: How can the flash ECC error detection be tested?
Question reason: In [1] chapter 3.10.7.1 I see the flash ECC description. But I don’t find in [1] a chapter for the flash, which is similar to (above stated) [1] chapter 8.14.3.1.
Regards
Oliver.
References:
[1] https://www.infineon.com/dgdl/xe166h_um_v1.1_2009_04.pdf?fileId=db3a304328c6bd5c01291210b0cb099d
Hello,
I apologize in advance if this question is in the wrong category.
I had a question regarding the die that is inside my Cypress part.
I am wondering if the die is authentic to this component given the following information:
Part number: CY7B185-12PC
Date code: 9513
Lot code: 002450
The markings on the die read: ASPEN, © 1990, 6A185B.
At SMT we are committed to keeping counterfeit components out of mission-critical systems. Any information you can provide is greatly appreciated and helps support our mission.
Thank you!
We purchased the SAK-TC1782F-320F180HR BA from the agency and found that there are two fonts of silk screen and two LOT numbers in the same tape, and many other models with two or more LOT numbers also have this phenomenon, may I ask why? Is this normal? Looking forward to your reply, thank you!
Show Lesshi,
i use the tasking to develop the TC1767,and i want generate a bin file ,
so i input cmd the post_build steps ,cmd follow
srec_cat.exe "F:\ITEC\infineon\taskingworkspace\LED_Blinking\Debug\LED_Blinking.hex" -intel -offset 0xA0000000 -o "F:\ITEC\infineon\taskingworkspace\LED_Blinking\Debug\1.bin" -Binary
but it have some wrong
it generate a large bin file. what should i change the rule ?
Regards,
sea
Show LessWe are using S6E2CCAL0AGL2000A in our project. It was working fine. But suddenly unable to flash new program and while flashing new program, controller is getting reset automatically through Jlink without program getting updated in controller
Show LessI am trying to understand this Assembly macro that sets the stack pointer to the location of a Task Stack of a RTOS. There are a few Assembly commands that I don't know and where I can't find that much information of.
This code points the User stack pointer to the stack of a Micrium Task (uC/OS III RTOS). But these tasks are only allowed to lay into near memory, and that is probably because of these assembly functions.
That's why I'm trying to find out what exactly is happening here. And why the stack can only be in near memory. After that I would like to find out if I can rewrite this to support tasks stacks outside of the near memory.
This assembly code is running on a XE169 chip (C166 Family):
LOAD_USRSTK_PTR .MACRO
EXTP #PAG _OSTCBHighRdyPtr,#02h ; R4/R5 = OSTCBHighRdyPtr
MOV R4,POF _OSTCBHighRdyPtr
MOV R5,POF (_OSTCBHighRdyPtr+2)
EXTP R5,#01h ; user stack ptr = OSTCBHighRdyPtr->OSTCBStkPtr
MOV R15,[R4]
.ENDM
This is how far I've found out what each line of code does:
LOAD_USRSTK_PTR .MACRO
Start of macro with the name LOAD_USRSTK_PTR
EXTP #PAG _OSTCBHighRdyPtr,#02h
Begin Extended Page Sequence, the next 2 instructions are part of the Extended Page Sequence
What does the #PAG _OSTCBHighRdyPtr part in this instruction mean, does this get the Page part of of the address where OSTCBHighRdyPtr is pointing to.
MOV R4,POF _OSTCBHighRdyPtr
Write _OSTCBHighRdyPtr into Register 4. What does POF mean in this instruction, does it get the value of the pointer and store that in Register 4?
MOV R5,POF (_OSTCBHighRdyPtr+2)
Write the value of at 2 addresses further as the address of OSTCBHighRdyPtr to Register 5. What does POF mean in this instruction Is it in this case copying the ExtPtr address? because this address is 4 bytes long, and the Register only 2 bytes?
EXTP R5,#01h ; user stack ptr = OSTCBHighRdyPtr->OSTCBStkPtr
Begin Extended Page Sequence. Next 1 instruction is part of the Extended Page Sequence. R5 = Register 5 what exactly is done with this register
MOV R15,[R4]
Move the value of Register 4 into Register 15, R15 is the User Stack Pointer
.ENDM
End of Macro
The _OSTCBHighRdyPtr is a pointer to a struct, the (beginning) of this struct looks like this:
struct os_tcb {
CPU_STK *StkPtr; /* Pointer to current top of stack */
void *ExtPtr; /* Pointer to user definable data for TCB extension */
CPU_CHAR *NamePtr; /* Pointer to task name */
CPU_STK *StkLimitPtr; /* Pointer used to set stack 'watermark' limit */
....
}
CPU_STK is a typedef of unsigned short __near.
The sizes of the items in this struct are:
StkPtr = 2 bytes (in near memory thus 2 bytes is enough)
ExtPtr = 4 bytes
NamePtr = 4 bytes
StkLimitPtr = 2 bytes (in near memory thus 2 bytes is enough)
Show Less
I met a problem during DAS installation on windows 7.
POP-up window(Run-time errors in the installation script) was appeared like attached screen shot.
I don't know the reasons.
Someone help me please.
Regards. Show Less
Please share download link for softune IDE for F2MC-16FX