This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWR6843ISK: What variable should I add to run od_demo.m?

Part Number: IWR6843ISK
Other Parts Discussed in Thread: MMWAVEICBOOST,

EVB : IWR6843ISK ES2 + MMWAVEICBOOST

Firmware : <dir>\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\prebuilt_binaries // oddemo_68xx.bin

Toolbox : Automotive toolbox 3.0.0

S/W : Matlab 2019b // <dir>\mmwave_automotive_toolbox_3_0_0\labs\lab0003_occupancy_detection\gui // od_demo.m

Chirp_configs : od_demo_68xx_4zone.cfg

나는 EVB 로 Vehicle occupancy detection 을 검토하고 있다.

I am considering Vehicle occupancy detection with EVB.

Toolbox에 있는 DOS Prompt로 구동을 완료하여 체크를 했다. 하지만 같은 디렉토리에 있는 Matlab file을 활용하고 싶다.

It was checked by completing the operation with DOS Prompt in the Toolbox. However, I want to use the Matlab file in the same directory.

od_demo.m 에서 몇가지 변수를 추가해야 구동되는 것을 알고있지만, 어떤 변수를 추가해야하는지 모르겠다. (시리얼포트 넘버만 추가했다)

I know I need to add a few variables in od_demo.m to run it, but I don't know what variables to add. (Only added serial port number)

m파일을 구동시키면 회색창만 뜨고 main loop에서 무한loop된다. (아래 사진)

When .m-file is executed, only a gray window appears and an infinite loop occurs in the main loop. (under picture)

어떡해해야 m파일을 실행시킬 수 있을까요? 구체적인 설명 부탁드립니다.

What can I do to run m file? Please explain in detail.

실행시키면 나오는 결과 창이며, 이 상태로 계속 유지된다.

This is the result window that appears when I run it, and it stays in this state.

  • Please refer to the demo's user guide: <install folder>/docs/ODdemo_usersguide.html.  You must use the correct version of Matlab, and the arguments to Matlab are same as when using the compiled DOS version, for example: od_demo 6 5 ..\chirp_configs\od_demo_68xx_4zone.cfg 2 1 0

      -dave

  • 상위 버전의 Matlab을 사용하고 있습니다. 이것이 m-file을 구동하는데 기술적인 문제가 있습니까? 있다면 매트랩 버전을 바꾸지 않고 해결할 수 있는 방안은 있나요?

    I am using a higher version of Matlab. Is this a technical problem in running the m-file? If so, is there any way to fix it without changing the MATLAB version?

  • It could be the Matlab version.  You should verify operation of the EVM first. Connect the flashed board to a PC and start TeraTerm or other serial port emulator. Attach to the User or Enhanced COM port at 115200 baud and hit return. You should get the demo prompt.  If you don't, there is probably a mismatch between the board and the version of SDK used.  The Automotive Toolbox 3.0.0 version of od_demo was built with SDK 3.4.0.3.  Check the release notes of the SDK to make sure your board is supported.