Legacy microcontrollers Forum Discussions
HI, I'm trying to write (program) the workflash in the chip MB9DF566. The code is as follows:
IDE: IAR for ARM
#define WFCFG_UNLOCK_CODE 0xCF6DF1A5
#define WFCFG00_MA1_BASE (0x0E000000) // Base Addr of the workflash
#define WFCFG00_UNLOCK \
WFCFG00_CPR = WFCFG_UNLOCK_CODE; \
// Program enable
//WFCFG00_CR_WE = 1;
// Flash wait control
WFCFG00_CR_FAWC = 2;
// Enable ECC
WFCFG00_ECR_ECCOFF = 0;
// Disable DMA
WFCFG00_WCR_DMAEN = 0;
// Disable the generation of hang interrupt requests
WFCFG00_ICR_HANGIE = 0;
// Disable generation of ready interrupt requests
WFCFG00_ICR_RDYIE = 0;
// Clear interrupts
WFCFG00_ICR_HANGIC = 1;
WFCFG00_ICR_RDYIC = 1;
// Software reset
WFCFG00_CR_SWFRST = 1;
void WorkFlash00Write(uint32_t Addr_Offset, uint32_t Data)
uint32_t *pDes = ((uint32_t *)WFCFG00_MA1_BASE) + Addr_Offset;
// Program enable
WFCFG00_CR_WE = 1;
while(0 != WFCFG00_WSR_ST);
*pDes = Data;
while(1 != WFCFG00_SR_RDY);
// Program disable
WFCFG00_CR_WE = 0;
When the code steps over the line:
*pDes = Data;
the regester WFCFG00_BERR_ACCIGN = 1, which means a command overrun, and the write operation fails.
Then when steps over the next line, the IAR show me a dialog "Warning: Stopped at unknown breakpoint".
Please help me to find the right way to write the workflash. Maybe directly access the workflash by point is not right, but I couldn't find a register which could access the workfalsh area.Show Less
I am developing some products with FM4 micro controller.
Is it possible to download software into FM4 mc (MB9BF564KQN / 48pin) with "SK-FM3-48PMC-USBSTICK" via USB from windows PC ?
(using OpenOCD, etc)
If not possible, are there any products suitable for FM4 mc instead of "SK-FM3-48PMC-USBSTICK" ?
I hope anyone to help me.
Hi，I want to design an offline programmer for MB9AF116N.
Write the HEX file to Flash using the SWD protocol. Like Jlink,
does anyone know the programming principle of Jlink?
Please tell Overshoot and Undershoot Specification for MB9BF116R.
Especially, about the below pins
At first, 16-bit data is transfered from 16-bit transmit data buffer on the RAM to TDR by using DMAC. Transfer width is 16-bit.
Next, 8-bit data is transfered from 8-bit transmit data buffer on the RAM to TDR by uing DMAC. Transfer width is 8-bit.
In this case, what values are in 8-bit high register(especially, D8)?
The customer assumes three answers.
c)datas written at first.
The customer use DMAC transfer for UART.
Can DMACB Transfer width be used both 16bit and 8bit for transfering from transmit data buffer on the RAM to TDR?
Example use case
Use 8bit DMACB for transfering from 8-bit transmit data buffer on the RAM to TDR.
2)Operation Mode 1 (Asynchronous Multiprocessor Mode)
Use 16bit DMACB for transfering from 16-bit transmit data buffer on the RAM to TDR.
I have a question about the different types of the MB91F362 automotive microcontroller,
We have been using this microcontroller in the 208-pin QFP package for several years.
The following types are listed in the last PCN for changing the part number from MB to CY.
What are the differences between these different types?
Only model MB91F362GBPFVS is listed in the data sheet as 208-pin QFP type.
The FR50 microcontroller family is also not listed on the homepage.
Is an EOL planned for these components?Show Less
Dear tech-support team, I need to program/debug a MB91F522KWC target. I already got the MB2100-01A-E Speed-Box debugger with installed USB drivers and the Softune IDE V07L01 installed. Unfortunately the mentioned software crashes and quits if I select the "start debug" option (I configure it already). Can you provide a newer more stable version or can you suggest any other suitable IDE/Debug probe? Thanks in advance for your kind help! ChrisShow Less
there is an issue with the MCAL package R403_Traveo_V2.14.00_SRC_20171215 running on Traveo S6J342AFT with a Vector ASR4 stack:
Oscillator runs on 16MHz
ClockDomain0 selected as MCU_SOURCE_CLOCK_MAIN
McuCpu0ClockSettings set to 16000000
McuLcpClockSettings set to 16000000
Therefore we expect OS Timer and Can Clock running on 16000000 and indeed we recognize cyclical messages, but not the timely distance as expected.
For OS configuration we selected high resolution timer and 0.0000000625 seconds per tick that should result in 16MHz.
Maybe there is an problem with the Mcu configuration?Show Less
I am writing device drivers for GPT12 module for TC275T controller.
I tried to write by referring user manual, but still while modifying T3CON register, the controller is going to bus error loop. Also I cleared ENDINIT with password during T3CON modification, still its unable to write anything on that register. I have no idea what to do now.
I am new to Infineon. Anybody has working driver for it?
Partha Sarathi Mishra Show Less