MQX on DEMOJM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MQX on DEMOJM

1,451件の閲覧回数
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 返答(返信)

855件の閲覧回数
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 件の賞賛

855件の閲覧回数
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 件の賞賛

855件の閲覧回数
Cesco
Contributor I

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

0 件の賞賛

855件の閲覧回数
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 件の賞賛

855件の閲覧回数
admin
Specialist II

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

0 件の賞賛

855件の閲覧回数
Tommy_Liu
Contributor II
0 件の賞賛