Wednesday, January 24th 2018, 4:57am UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-6 of 6.

Wednesday, October 25th 2017, 1:19pm

Author: pasnew

[SOLVED]PRIMASK not cleared after script execution

Sorry, it's just a program 1st time initialisation issue

Wednesday, October 25th 2017, 1:12pm

Author: pasnew

[SOLVED]PRIMASK not cleared after script execution

Hi, Using J-link v6.20g with MKM34Z256, primask is not cleared after the execution of a script. Strangely I even tried add __enable_irq() in my code, but primask is always 1. Source code 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 r h unlock Kinetis r h erase loadbin E:\eo_reader.bin,0x00000000 sleep 1000 mem32 0x20000000,1 mem32 0x20000004,1 r h loadbin E:\S_Off.bin,0x00000000 r h loadbin E:\eo_v2.bin,0x00004000 r exit

Thursday, June 29th 2017, 4:26pm

Author: pasnew

V2.5 Misleading information in context window

I have a task running at 1Hz and several IRQs running at higher speed. In the context window I was shocked that the frequency of this task is about 5/6 Hz and run count is added by 5 or 6 every second, then I found out that's because the execution of this task is interrupted 5 or 6 times by IRQs, as they are displayed in the timeline. I feel these two information is very misleading, as in most case what we care is the real run count/ frequency of a task, and how many time a task is interrupted b...

Thursday, June 29th 2017, 9:55am

Author: pasnew

[Suggestion] Easy way to trace function call in Timeline

Hi, For ISRs, we can use SEGGER_SYSVIEW_RecordEnterISR() combine with SEGGER_SYSVIEW_SendSysDesc("I#15=xxxxxxx"); to trace them easily. But for function calls, in order to display them correctly, we need to write a description file, which is not always practical. So what I done is hacked the ISR record function: Source code 1 void SEGGER_SYSVIEW_RecordEnterFunc(U8 ID) { unsigned v; U8* pPayload; U8* pPayloadStart; RECORD_START(SEGGER_SYSVIEW_INFO_SIZE + SEGGER_SYSVIEW_QUANTA_U32); // pPayload = ...

Tuesday, April 11th 2017, 9:56am

Author: pasnew

[SOLVED] J-Link V9: Debug break virtual com port

Hi, Using the 6.14c software, I noticed that when I click debug in the IAR, the virtual com port already opened not work anymore. In order to let it work, I must choose another baudrate. Step to produce the issue: 1. Make a loopback connection on VCP and connect SWD to the MCU 2. Use Tera Term to test the vcp port, it should work. 3. Click download and debug in IAR 4. VCP port not work anymore even if I close and relaunch Tera Term 5. Change the baud rate in Tera Term and VCP works until next de...

Wednesday, May 13th 2015, 6:05pm

Author: pasnew

FS_GetVolumeFreeSpace() not updated immediately

Hello, I'm evaluating emFile with STM32F4 and IAR compiler. In my project I'm using USB to mount nand flash and display new files after USB is ejected. However, I found FS_GetVolumeFreeSpace() didn't give me the newest free space after some files are created or deleted, in my case there are only two ways to get the actual free space: 1.Reset the MCU, so the file system is also reinitialized. 2.Format the flash, it gives the correct space. Anyway to solve this? Thanks,