MQX on DEMOJM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MQX on DEMOJM

1,810 次查看
Cesco
Contributor I

Hi,

I have a DEMOJM board and i'm trying to use MQX on it. In the annex CD-rom i found CodeWarrior V6.1. SInce installing MQX it is not found, i thought it's too old and so i took CodeWarrior v10.0. But creating a new MQX project it is  needed to choose the kind of  board which you will use. Unluckly DEMOJM is not included in the list. How can I i work with it? And how to flash the board? Can someone explain it step by step? Thank you all.

标记 (1)
0 项奖励
回复
6 回复数

1,214 次查看
Tommy_Liu
Contributor II
Please use Codewarrior for MCU 6.3 and MQX 3.6.2 I have try. All M51JMEVB's drivers are OK for DEMOJM.
0 项奖励
回复

1,214 次查看
HipBlazeing
Contributor I

Hi! I having problems with setting IRQ in DEMOJM MCF51JM128, CW V6.3 and MQX 3.7 like this:

 

const GPIO_PIN_STRUCT pins_irq[] = {   GPIO_SYNC | GPIO_PIN_IRQ_FALLING,   GPIO_LIST_END};void fpga_sync_irq(void) {   fpga_sync++;}init function:irq_fd = fopen("gpio:input", (char *)&pins_irq);err = ioctl(irq_fd, GPIO_IOCTL_SET_IRQ_FUNCTION, (char_ptr)&fpga_sync_irq);err = ioctl(irq_fd, GPIO_IOCTL_ENABLE_IRQ, NULL);

 

 

The interrupt callback works only on rising edge... is it even possible to set callback like this in MCF51JM128 since it has only one IRQ and eight KBI interrupts?

0 项奖励
回复

1,214 次查看
Cesco
Contributor I

Unluckily my 64-bit notebook does not support cw 6.3. Thank you anyway for answering!

0 项奖励
回复

1,214 次查看
Tommy_Liu
Contributor II
BTW, you can change the SCI driver, in order that P&E virtual COM can Printf information. following picture is the code you need change.
0 项奖励
回复

1,214 次查看
admin
Specialist II

The picture showing the code changes isn't here.  Does anyone know what the changes are?

0 项奖励
回复

1,214 次查看
Tommy_Liu
Contributor II
0 项奖励
回复