MQX4.0 error in MK60F15.h file

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

MQX4.0 error in MK60F15.h file

1,583件の閲覧回数
pmt
Contributor V

In the mk60f15.h there are the following defines:


#define SIM_SCGC7_PFLEXNVM_MASK                  0x4u

#define SIM_SCGC7_PFLEXNVM_SHIFT                 2

#define SIM_SCGC7_MPU_MASK                       0x8u

#define SIM_SCGC7_MPU_SHIFT                      3

According to the datasheet there is no PFLEXNVM setting and MPU should be the following:

#define SIM_SCGC7_MPU_MASK                       0x4u

#define SIM_SCGC7_MPU_SHIFT                      2

What's the best way to submit bug reports to MQX?

PMT

0 件の賞賛
返信
8 返答(返信)

1,291件の閲覧回数
c0170
Senior Contributor III

Hello pmt,

what's version of MK60F15 ? I have checked our repository,

/*!

* @file MK60F15.h

* @version 1.8

* @date 2013-04-05

* @brief Peripheral memory map for MK60F15

*

* This header file implements peripheral memory map for MK60F15 processor.

*/

/* SCGC7 Bit Fields */

#define SIM_SCGC7_FLEXBUS_MASK                   0x1u

#define SIM_SCGC7_FLEXBUS_SHIFT                  0

#define SIM_SCGC7_DMA_MASK                       0x2u

#define SIM_SCGC7_DMA_SHIFT                      1

#define SIM_SCGC7_MPU_MASK                       0x4u

#define SIM_SCGC7_MPU_SHIFT                      2


Thx for reporting anyway. I would prefer if you report bugs here, others can benefit from it and I (or others) usually report it to the team if it's confirmed to be true Smiley Wink

Regards,

c0170

0 件の賞賛
返信

1,291件の閲覧回数
pmt
Contributor V

c0170,


Has the TWR-K60F120M patch for MQX 3.8 been applied to MQX4.0?  This seems to indicate that perhaps this got missed.


Regards,

PMT

0 件の賞賛
返信

1,291件の閲覧回数
c0170
Senior Contributor III

Hello,

According what I remember, It was merged into MQX during development. I have not seen that patch, therefore it's only an assumption. If you have available both (patch on 3.8 and 4.0), can you compare and tell us? It can help others, anyway there will be released new version of MQX soon, with new headers :smileywink:

Regards,

c0170

0 件の賞賛
返信

1,291件の閲覧回数
pmt
Contributor V

c0170,

Unfortunately I don't have 3.8+k60f12 patch installed anymore to verify, but I will be looking forward to the new release!  Perhaps someone out there in the community can compare these header files?

Regards,

PMT

0 件の賞賛
返信

1,291件の閲覧回数
Martin_
NXP Employee
NXP Employee

Hi PMT,

both files

c:\Freescale\Freescale MQX 3.8\mqx\source\psp\cortex\MK60F15.h

c:\Freescale\Freescale_MQX_4_0\mqx\source\psp\cortex_m\cpu\MK60F15.h

are version 1.3 on my computer. As Martin Kojtal indicates a new header file will be included in MQX 4.0.1. If you are using CodeWarrior, you already have an updated header file in:

c:\Freescale\CW MCU v10.3\MCU\ProcessorExpert\lib\Kinetis\iofiles\MK60F15.h

0 件の賞賛
返信

1,291件の閲覧回数
pmt
Contributor V

No dice!  4.0.1 still has version 1.3 of the header file.  I'll get version 1.8 of the file from the other directory, but it looks like some updates are not being propagated.

PMT

PMT

0 件の賞賛
返信

1,291件の閲覧回数
Martin_
NXP Employee
NXP Employee

sorry my mistake, I wrote it is in 4.0.1 but actually it will be in 4.0.2.

0 件の賞賛
返信

1,291件の閲覧回数
pmt
Contributor V

This is the version from the MQX 4.0 distribution online.  Not sure if there is something newer available for general download.  For some reason it appears to be ancient:

/**

* @file MK60F15.h

* @version 1.3

* @date 2011-11-18

* @brief Peripheral memory map for MK60F15

*

* This header file implements peripheral memory map for MK60F15 processor.

*/

0 件の賞賛
返信