PreArm: Terrain out of memory

I fired up my plane yesterday with a PixRacer R15 running 4.2.0 beta and got this error:
PreArm: Terrain out of memory

What does this mean? How do I fix it? I can’t find any documentation on this message.

I had a similar problem with a Holybro Pixhawk1 Flight Controller (FC). According to the Holybro web site, this FC conforms to the Pixhawk standard px4 2.4.6, which has 2 MB EEPROM. I uploaded Arducopter firmware “Pixhawk1” and the “Terrain out of memory” message appeared. I then uploaded “Pixhawk1-1M”, which is the firmware for a 1 meg version, and the message disappeared but the “Messages” tab on the Data Screen said I have 2M of EEPROM and should be using “Pixhawk1” software. Since I do not use any terrain following functions, I again uploaded “Pixhawk1”, but I also set TERRAIN_ENABLE=0 and rebooted the FC. The problem no longer appeared. There is clearly some bug in the firmware but, for my purposes this was an adequate solution. Good luck.

1 Like